[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37819] trunk/blender/CMakeLists.txt: Allow the lib dir to be a symlink, pointed out by Mitchell Stokes.

Campbell Barton ideasman42 at gmail.com
Sun Jun 26 08:05:57 CEST 2011


Revision: 37819
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37819
Author:   campbellbarton
Date:     2011-06-26 06:05:56 +0000 (Sun, 26 Jun 2011)
Log Message:
-----------
Allow the lib dir to be a symlink, pointed out by Mitchell Stokes.

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

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2011-06-26 02:20:20 UTC (rev 37818)
+++ trunk/blender/CMakeLists.txt	2011-06-26 06:05:56 UTC (rev 37819)
@@ -996,7 +996,7 @@
 # Common.
 
 if(APPLE OR WIN32)
-	if(NOT IS_DIRECTORY "${LIBDIR}")
+	if((NOT IS_DIRECTORY "${LIBDIR}") AND (NOT IS_SYMLINK "${LIBDIR}"))
 		message(FATAL_ERROR "Apple and Windows require pre-compiled libs at: '${LIBDIR}'")
 	endif()
 endif()




More information about the Bf-blender-cvs mailing list