Skip to content

Commit

Permalink
cmake: Make hotplugmonitor a static lib
Browse files Browse the repository at this point in the history
hotplugmonitor is not hooked up to be installed as dynamic library, and
hotplugmonitor/src/src.pro declares it as staticlib . It seems like it
was the intent that the cmake build system should do the same.
  • Loading branch information
kiilerix committed Sep 23, 2024
1 parent 3c71bbb commit 5fb8842
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hotplugmonitor/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
add_library(hotplugmonitor
STATIC
hotplugmonitor.cpp hotplugmonitor.h
)
set_property(TARGET hotplugmonitor PROPERTY POSITION_INDEPENDENT_CODE ON)
Expand Down

0 comments on commit 5fb8842

Please sign in to comment.