diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:37 +0100 |
---|---|---|
committer | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:37 +0100 |
commit | 5a54ec8049b9b65ed8650f592ee8d8cd0ed6d7ab (patch) | |
tree | d8089186a57202b983ecb649dd937cd944fbeb68 /CMakeLists.txt | |
parent | a079a10ed7330f8ba2a29d259070a66391996466 (diff) | |
download | kcmautostart-5a54ec8049b9b65ed8650f592ee8d8cd0ed6d7ab.tar.gz kcmautostart-5a54ec8049b9b65ed8650f592ee8d8cd0ed6d7ab.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 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 |