summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-02-17 04:24:49 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-02-17 04:24:49 +0100
commit7bc719e01816501afbc217ca29e5a78b9998b172 (patch)
treebb7973aaa8e10c1cc0b08acb228c099e128cfc19
parent9e77315ecb6f5b5aaafa2be600fea3706142515e (diff)
parent5b9df1bf2a21b25e6ee53e9391997f3348548a41 (diff)
Merge pull request #131 from DaMichel/cmakelist-pr
make buildscript work with white space in path names
-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()