[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47976] trunk/blender/intern/ghost/ CMakeLists.txt: fix for building blender as a python module on windows.

Campbell Barton ideasman42 at gmail.com
Fri Jun 15 22:59:01 CEST 2012


Revision: 47976
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47976
Author:   campbellbarton
Date:     2012-06-15 20:59:00 +0000 (Fri, 15 Jun 2012)
Log Message:
-----------
fix for building blender as a python module on windows.

Modified Paths:
--------------
    trunk/blender/intern/ghost/CMakeLists.txt

Modified: trunk/blender/intern/ghost/CMakeLists.txt
===================================================================
--- trunk/blender/intern/ghost/CMakeLists.txt	2012-06-15 18:42:03 UTC (rev 47975)
+++ trunk/blender/intern/ghost/CMakeLists.txt	2012-06-15 20:59:00 UTC (rev 47976)
@@ -143,6 +143,7 @@
 				intern/GHOST_SystemPathsCarbon.h
 			)
 		endif()
+
 	elseif(UNIX)
 		list(APPEND SRC
 			intern/GHOST_SystemPathsX11.cpp
@@ -152,13 +153,17 @@
 		if(NOT WITH_INSTALL_PORTABLE)
 			add_definitions(-DPREFIX="${CMAKE_INSTALL_PREFIX}")
 		endif()
+
 	elseif(WIN32)
-
 		list(APPEND SRC
 			intern/GHOST_SystemPathsWin32.cpp
 
 			intern/GHOST_SystemPathsWin32.h
 		)
+
+		list(APPEND INC
+			../utfconv
+		)
 	endif()
 
 	if(NOT WITH_HEADLESS)




More information about the Bf-blender-cvs mailing list