[Bf-blender-cvs] [40f32f4] master: CMake: Attempted to copy manual for py-module

Campbell Barton noreply at git.blender.org
Tue Nov 4 09:38:59 CET 2014


Commit: 40f32f406bc19f78d4553d0be797eb94f0dac2a6
Author: Campbell Barton
Date:   Tue Nov 4 09:37:01 2014 +0100
Branches: master
https://developer.blender.org/rB40f32f406bc19f78d4553d0be797eb94f0dac2a6

CMake: Attempted to copy manual for py-module

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

M	source/creator/CMakeLists.txt

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

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index c2f6ec5..c76cb2c 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -414,10 +414,14 @@ if(UNIX AND NOT APPLE)
 
 	# there are a few differences between portable and system install
 	if(WITH_INSTALL_PORTABLE)
-		install(
-			FILES ${TARGETDIR}/blender.1
-			DESTINATION ${TARGETDIR}
-		)
+		if(WITH_PYTHON_MODULE)
+			# pass
+		else()
+			install(
+				FILES ${TARGETDIR}/blender.1
+				DESTINATION ${TARGETDIR}
+			)
+		endif()
 
 		install(
 			FILES




More information about the Bf-blender-cvs mailing list