diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-12-18 22:40:58 +0900 |
commit | a40c750d55394130b0f82e724685f7ac2212f28d (patch) | |
tree | 7299431cce7e2bc613bfffadf1734d50b5ad7e88 | |
parent | dc8101d684f542dbed9a2bfb413fa52038342631 (diff) | |
download | tdesudo-a40c750d55394130b0f82e724685f7ac2212f28d.tar.gz tdesudo-a40c750d55394130b0f82e724685f7ac2212f28d.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
(cherry picked from commit 10cb72fd6ed320eac19c1491d99ad3c0df1087e5)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 09a95de..87e0bea 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 |