summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2018-12-17 17:07:38 +0100
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2018-12-18 12:49:37 +0000
commitab5663ed886ecae6f9a9aadd319ff8df3d9002de (patch)
treeb99297baec284ab7f7aeafe2542abbd35a152dfd
parent9f81d5707244152ad95e141a43bbbb52b9edbc85 (diff)
downloadtdemultimedia-ab5663ed886ecae6f9a9aadd319ff8df3d9002de.zip
tdemultimedia-ab5663ed886ecae6f9a9aadd319ff8df3d9002de.tar.gz
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 57f0594..0d8d83b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -98,8 +98,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" )
##### activate dependencies #####################