diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-18 22:30:37 +0900 |
commit | 2edef3c74d4311abe5e92acef6ddbc049d6c3710 (patch) | |
tree | 6b6c917339567ffb95caa03c8ae5edb76e13e5e9 | |
parent | 310a1d3a031c04251019028ad835be66e9da4b74 (diff) | |
download | yakuake-2edef3c74d4311abe5e92acef6ddbc049d6c3710.tar.gz yakuake-2edef3c74d4311abe5e92acef6ddbc049d6c3710.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
(cherry picked from commit 639a2939cf330b8b906685e6d57d6d3e2db094af)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index de831ed..5642a69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,8 +60,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 |