summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-12-19 15:15:21 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-19 23:25:33 +0100
commitf0c3f9ef7e712d12cb1cd8766141ef0b1f82d021 (patch)
tree1c66f7d6e039fa6848dc9e4f25147a1fe1f85663 /CMakeLists.txt
parentb7d8667d4d574ef78bc2ec6a63fb9b59c6bc0fcd (diff)
downloadpotracegui-f0c3f9ef7e712d12cb1cd8766141ef0b1f82d021.tar.gz
potracegui-f0c3f9ef7e712d12cb1cd8766141ef0b1f82d021.zip
correct user linker flags
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 54d23434e61a1a86972eab071e1ad88c1e0460dd)
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 7e238db..9808f98 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,8 +61,8 @@ include( ConfigureChecks.cmake )
add_definitions( -DHAVE_CONFIG_H -UQT_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