summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDaMichel <mw.pub@welter-4d.de>2015-02-14 10:01:44 +0100
committerDaMichel <mw.pub@welter-4d.de>2015-02-14 10:01:44 +0100
commit5b9df1bf2a21b25e6ee53e9391997f3348548a41 (patch)
tree4f3f472b21086fdbb5dfc52535ee2fe3f2726d12 /CMakeLists.txt
parent6820de3418ee3816b99de5d15dfa7416304cde0d (diff)
make buildscript work with white space in path names
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 335eab80..33b2c7a7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,7 +91,7 @@ macro(opentrack_library n dir)
target_link_libraries(${n} ${MY_QT_LIBS})
if(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE)
SET_TARGET_PROPERTIES(${n} PROPERTIES
- LINK_FLAGS "${foolib_LINK} -Wl,--version-script=${CMAKE_SOURCE_DIR}/opentrack/${version-script}-version-script.txt"
+ LINK_FLAGS "${foolib_LINK} -Wl,--version-script=\"${CMAKE_SOURCE_DIR}/opentrack/${version-script}-version-script.txt\""
COMPILE_FLAGS "${foolib_COMPILE} -fvisibility=hidden -fvisibility-inlines-hidden"
)
else()