From 1721d47106aec81406a2714816b202c2a89a9467 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 30 Apr 2015 12:55:52 +0500 Subject: [PATCH] CMake: Solve compilation error from path with a space --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4724e101603..9c7308e1fc2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1127,7 +1127,7 @@ if(UNIX AND NOT APPLE) if(WITH_LLVM OR WITH_SDL_DYNLOAD) # Fix for conflict with Mesa llvmpipe - set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -Wl,--version-script=${CMAKE_SOURCE_DIR}/source/creator/blender.map") + set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -Wl,--version-script='${CMAKE_SOURCE_DIR}/source/creator/blender.map'") endif() # OpenSuse needs lutil, ArchLinux not, for now keep, can avoid by using --as-needed