summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFabio Rossi <[email protected]>2018-12-17 17:07:38 +0100
committerTDE Gitea <[email protected]>2018-12-18 12:49:37 +0000
commitab5663ed886ecae6f9a9aadd319ff8df3d9002de (patch)
treeb99297baec284ab7f7aeafe2542abbd35a152dfd /CMakeLists.txt
parent9f81d5707244152ad95e141a43bbbb52b9edbc85 (diff)
downloadtdemultimedia-ab5663ed886ecae6f9a9aadd319ff8df3d9002de.tar.gz
tdemultimedia-ab5663ed886ecae6f9a9aadd319ff8df3d9002de.zip
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
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 57f05942..0d8d83be 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 #####################