summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2018-12-19 15:15:21 +0100
committergregory guy <[email protected]>2018-12-19 15:15:21 +0100
commit54d23434e61a1a86972eab071e1ad88c1e0460dd (patch)
tree288b0261cf6e4d3d8a0bf30a54c0e10734694679 /CMakeLists.txt
parente4a719c080c3d26387a3288815eb20c164c3ed37 (diff)
downloadpotracegui-54d23434e61a1a86972eab071e1ad88c1e0460dd.tar.gz
potracegui-54d23434e61a1a86972eab071e1ad88c1e0460dd.zip
correct user linker flags
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f643c88..98d3e15 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,8 +61,8 @@ include( ConfigureChecks.cmake )
add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST )
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