diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:37 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-12-18 23:31:07 +0900 |
commit | b7564a3b2243ac290a19df6eafec886c2da3f962 (patch) | |
tree | 4a8d581710e0bbea4e7501190182cf97045bd4aa | |
parent | 61b740287eea5769921143efcfc9042b9537efff (diff) | |
download | kcmautostart-b7564a3b2243ac290a19df6eafec886c2da3f962.tar.gz kcmautostart-b7564a3b2243ac290a19df6eafec886c2da3f962.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
(cherry picked from commit 5a54ec8049b9b65ed8650f592ee8d8cd0ed6d7ab)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d73c698..44c3511 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 |