diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-18 23:13:16 +0900 |
commit | 09470856a845daa300f79ed462ced7f5280818c0 (patch) | |
tree | 0fa11ef028a4e21cc65ea1cb057cdaa1baf8e950 | |
parent | e1f7af5edd1f77cdf9abeaccf28510680332ab53 (diff) | |
download | konversation-09470856a845daa300f79ed462ced7f5280818c0.tar.gz konversation-09470856a845daa300f79ed462ced7f5280818c0.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 a9090542668749087e30d31013d7e3eab1ec4701)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f8da3f..6b8419f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,8 +68,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" ) ##### konversation directories ################## |