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:06:59 +0900 |
commit | 67e595b6a731d126377bfc2f807b6c6a8aa366f4 (patch) | |
tree | 089fcfbec16895a09d5f1e588f02fb0c2ea9cc89 | |
parent | a729c2c36c1144a5ea64ca297244d3e31703a8cd (diff) | |
download | krename-67e595b6a731d126377bfc2f807b6c6a8aa366f4.tar.gz krename-67e595b6a731d126377bfc2f807b6c6a8aa366f4.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 086b18d3fcdb4c542ce07724a3a637c8a34c21f2)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 365dc48..e9a8543 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,8 +61,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 |