summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2018-12-17 17:07:38 +0100
committerFabio Rossi <rossi.f@inwind.it>2018-12-17 17:07:38 +0100
commitad1a4874812aeb81f7a219e7d8ee6d9be3392d2a (patch)
tree5ba24a3d82881fc72c70be315363b6dcde71e238
parent5ec8629d48e7c13b34459f1d2a772deae9a4e993 (diff)
downloadarts-ad1a4874812aeb81f7a219e7d8ee6d9be3392d2a.tar.gz
arts-ad1a4874812aeb81f7a219e7d8ee6d9be3392d2a.zip
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e355c1..b5399d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -286,7 +286,7 @@ add_definitions(
-DHAVE_CONFIG_H
)
-set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
+set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
##### project subdirectories ####################