diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-18 22:18:29 +0900 |
commit | 22cd6ed978ca966307dd3d416aaf123d95116113 (patch) | |
tree | f846700197a5000e1ff2571185c1da26ee1944d3 /CMakeLists.txt | |
parent | 7545002a806f4c7d00b60210fb9567a175e956d2 (diff) | |
download | dbus-tqt-22cd6ed978ca966307dd3d416aaf123d95116113.tar.gz dbus-tqt-22cd6ed978ca966307dd3d416aaf123d95116113.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
(cherry picked from commit 756f01b82f45fb392c3a9558709b11b577b8ab3a)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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 |