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:47:06 +0900 |
commit | 7d8d7f102a6c17a7a8ceb2082e19c3f742a6c91e (patch) | |
tree | 776ca64d1b86ef80b7f537ce168240a445099f37 /CMakeLists.txt | |
parent | 23d192de8b8f5661032be0b3db98074328cef929 (diff) | |
download | tdelibs-7d8d7f102a6c17a7a8ceb2082e19c3f742a6c91e.tar.gz tdelibs-7d8d7f102a6c17a7a8ceb2082e19c3f742a6c91e.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 d8177b405849215646b5c2524a1ec1df245301ff)
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 b74e4b86b..ec1725026 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1166,8 +1166,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" ) ##### headers ################################### |