We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 994e34f commit 4159c47Copy full SHA for 4159c47
external/CMakeLists.txt
@@ -247,9 +247,15 @@ ENDIF()
247
#=============================================================================
248
249
if (UNIX AND NOT APPLE AND (ENABLE_POWER_MANAGEMENT OR ENABLE_PIPEWIRE))
250
+ if (USE_SHARED_LIBS)
251
+ set (BUILD_SHARED_LIBS ON)
252
+ endif()
253
set(SDBUSCPP_BUILD_DOCS OFF CACHE BOOL "No doc")
254
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sdbus-cpp)
255
set_target_properties(sdbus-c++-objlib PROPERTIES POSITION_INDEPENDENT_CODE ON)
256
257
+ set (BUILD_SHARED_LIBS OFF)
258
259
endif()
260
261
0 commit comments