summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2018-12-17 17:07:37 +0100
committerFabio Rossi <rossi.f@inwind.it>2018-12-17 17:07:37 +0100
commit893ae3502dade25f4c6497e25783218318a4e7f7 (patch)
tree5a6dd7ffada5abb6dbc192c0fbac915d5ef60128
parentd0ff1c892c16e5e1f2e8244d2b4aac87db4d5103 (diff)
downloadgtk-qt-engine-893ae3502dade25f4c6497e25783218318a4e7f7.zip
gtk-qt-engine-893ae3502dade25f4c6497e25783218318a4e7f7.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 6ae11c4..9811d94 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,8 +47,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" )
INCLUDE (UsePkgConfig)