diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-12-18 22:16:01 +0900 |
commit | 941794919f24daf8cc6bbbe02ea0a930a69fe843 (patch) | |
tree | 510bfc0342dad5f2064f365259debb63bec5bff7 | |
parent | 22ca7c37a771bd0afd80ae21587e08870b2c9160 (diff) | |
download | tdeadmin-941794919f24daf8cc6bbbe02ea0a930a69fe843.tar.gz tdeadmin-941794919f24daf8cc6bbbe02ea0a930a69fe843.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
(cherry picked from commit 4a3194e9a068006a90d19e0a40353f6de6dd946e)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d9467cc..5bcf830 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,8 +79,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" ) ##### @TDE_MODULE_NAME@ directories |