diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-12-18 22:26:47 +0900 |
commit | a06151a14fabdd80577e0cb77d90fb6fdee1ca9a (patch) | |
tree | 5ec9c49619fa18056096d8e7f7ed97dd4cdc4897 | |
parent | acf41981bb2117652e659b106ce7039d6d0bbacf (diff) | |
download | dbus-1-tqt-a06151a14fabdd80577e0cb77d90fb6fdee1ca9a.tar.gz dbus-1-tqt-a06151a14fabdd80577e0cb77d90fb6fdee1ca9a.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
(cherry picked from commit 93e096976beab7a5c831f06c22fddaaf8aa986a1)
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 29c869e..90a841b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/dbus-1-tqt.pc DESTINATION ${PKGCONFIG ##### 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( -DDBUS_COMPILATION |