summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Rossi <[email protected]>2018-12-17 17:07:38 +0100
committerMichele Calgaro <[email protected]>2018-12-18 22:18:29 +0900
commit22cd6ed978ca966307dd3d416aaf123d95116113 (patch)
treef846700197a5000e1ff2571185c1da26ee1944d3
parent7545002a806f4c7d00b60210fb9567a175e956d2 (diff)
downloaddbus-tqt-22cd6ed978ca966307dd3d416aaf123d95116113.tar.gz
dbus-tqt-22cd6ed978ca966307dd3d416aaf123d95116113.zip
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]> (cherry picked from commit 756f01b82f45fb392c3a9558709b11b577b8ab3a)
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a2c77d..05b148f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,7 +57,7 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/dbus-tqt.pc DESTINATION ${PKGCONFIG_I
##### build setup ###############################
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include tqt.h" )
-set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
+set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
add_definitions(
-DQT_THREAD_SUPPORT