diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:38 +0100 |
commit | cd29ce0b836fe2d0a8e4d13ff97cc5aaef6b7a21 (patch) | |
tree | e09c8f84e8ae9ee901ad740fd73e3742ce0b4cd1 | |
parent | fdec24b4bcce66e027a676a9357830bfc4e4c5f0 (diff) | |
download | tdedocker-cd29ce0b836fe2d0a8e4d13ff97cc5aaef6b7a21.tar.gz tdedocker-cd29ce0b836fe2d0a8e4d13ff97cc5aaef6b7a21.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bfae31..03af652 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,8 +55,8 @@ include( ConfigureChecks.cmake ) ###### global compiler settings ################# 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 ######################## |