[Bf-blender-cvs] [1721d47] master: CMake: Solve compilation error from path with a space

Sergey Sharybin noreply at git.blender.org
Thu Apr 30 09:56:51 CEST 2015


Commit: 1721d47106aec81406a2714816b202c2a89a9467
Author: Sergey Sharybin
Date:   Thu Apr 30 12:55:52 2015 +0500
Branches: master
https://developer.blender.org/rB1721d47106aec81406a2714816b202c2a89a9467

CMake: Solve compilation error from path with a space

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4724e10..9c7308e 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




More information about the Bf-blender-cvs mailing list