diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-12-18 21:24:41 +0900 |
commit | 4087d6514886dae74778e974ce75f1f3f3321e19 (patch) | |
tree | cf9fc2d47bcf34ca3fd4b01ec35052e5827afe78 | |
parent | 2024cb53da8fd2047dbe54eb2040d8794a3833cb (diff) | |
download | tdetoys-4087d6514886dae74778e974ce75f1f3f3321e19.tar.gz tdetoys-4087d6514886dae74778e974ce75f1f3f3321e19.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
(cherry picked from commit 4b79ddec7c04aa054a1fbb8d0f62730294858a2a)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f879581..be4fd5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,8 +88,8 @@ add_definitions( ) 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 ############ |