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 | d8177b405849215646b5c2524a1ec1df245301ff (patch) | |
tree | 7e3cecf6600d84b27994210bbda2700a5eb25dfc /CMakeLists.txt | |
parent | b7788884cb42e04a10942b6a5331aaef72e6648b (diff) | |
download | tdelibs-d8177b405849215646b5c2524a1ec1df245301ff.tar.gz tdelibs-d8177b405849215646b5c2524a1ec1df245301ff.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
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 aab7b649f..3291a7090 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1250,8 +1250,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 ################################### |