summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFabio Rossi <[email protected]>2018-12-17 17:07:38 +0100
committerFabio Rossi <[email protected]>2018-12-17 17:07:38 +0100
commit83c0649181e30cea8a03eeda23e6449073ab74b6 (patch)
treeb38f5b8956ec7c3bc5ba6e5620d1e21ff6d35b91 /CMakeLists.txt
parentb989d63dbc45d8098c5ef4230c6c30c583c5dda7 (diff)
downloadtde-style-qtcurve-83c0649181e30cea8a03eeda23e6449073ab74b6.tar.gz
tde-style-qtcurve-83c0649181e30cea8a03eeda23e6449073ab74b6.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 17908e5..b263635 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -80,8 +80,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" )
##### source directories ########################