summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2018-12-17 17:07:38 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-12-18 21:53:40 +0900
commited2043201d634d1c0203cd3f96ae8e5055ea95a6 (patch)
treeb4a23b0d9bd1b68bd942c0b46c8cb0da8392471d /CMakeLists.txt
parentd9c50b03145877eaee6c515d694c744aa52a6b31 (diff)
downloadtdegraphics-ed2043201d634d1c0203cd3f96ae8e5055ea95a6.tar.gz
tdegraphics-ed2043201d634d1c0203cd3f96ae8e5055ea95a6.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 5767e49f35c3ed9f6963389d6365e498d7ae058b)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44190d90..a033b400 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,8 +107,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" )
##### tdegraphics directories ###################