diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:37 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-18 23:32:09 +0900 |
commit | 74daf325f02c20fbab8b279ea864b512f1da58c3 (patch) | |
tree | 72d77098d930d8bfa517f3d23b134c59eb61ae49 /CMakeLists.txt | |
parent | edc26a6e081e8138b0fbf804ccfb71e3ad77eb1d (diff) | |
download | kbiff-74daf325f02c20fbab8b279ea864b512f1da58c3.tar.gz kbiff-74daf325f02c20fbab8b279ea864b512f1da58c3.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
(cherry picked from commit d31c0bf6fcd1b64e998a7f406fadd59b2e2909b9)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a3bbd0..492c56a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,8 +68,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 |