summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFabio Rossi <[email protected]>2018-12-17 17:07:38 +0100
committerMichele Calgaro <[email protected]>2018-12-18 22:26:47 +0900
commita06151a14fabdd80577e0cb77d90fb6fdee1ca9a (patch)
tree5ec9c49619fa18056096d8e7f7ed97dd4cdc4897 /CMakeLists.txt
parentacf41981bb2117652e659b106ce7039d6d0bbacf (diff)
downloaddbus-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)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
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