diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:37 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-12-18 23:28:23 +0900 |
commit | 65f45a45bb2a4d0b8e6466278ea8ea1ee0493b89 (patch) | |
tree | 6a756319e8b94083de92a8ccad2948f9426758c2 | |
parent | a65dd79427bfa523f86ef67fcf76eda534dc2067 (diff) | |
download | kgtk-qt3-65f45a45bb2a4d0b8e6466278ea8ea1ee0493b89.tar.gz kgtk-qt3-65f45a45bb2a4d0b8e6466278ea8ea1ee0493b89.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
(cherry picked from commit 3a666417b420ef395d199f66c8efc8b4bfcc59cb)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 832bc02..68ce911 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,8 +75,8 @@ add_definitions( ) 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" ) ##### source directories ######################## |