summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Rossi <[email protected]>2018-12-17 17:07:37 +0100
committerFabio Rossi <[email protected]>2018-12-17 17:07:37 +0100
commit41a3675a6cec30f3be21bd035e5da9782d719756 (patch)
tree7cafa6e75f43a0b8071daad3a37369d997bf02d6
parent22ee278f433a71f1a7b5b79f45aba25529f2a222 (diff)
downloadkiosktool-41a3675a6cec30f3be21bd035e5da9782d719756.tar.gz
kiosktool-41a3675a6cec30f3be21bd035e5da9782d719756.zip
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 739d036..1a67b97 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,8 +63,8 @@ include( ConfigureChecks.cmake )
add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
-set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
-set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
+set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
+set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
##### directories