[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37822] trunk/blender/CMakeLists.txt: This solves the issue of having symlinks in the LIBDIR path (CMAKE Windows ).

Mitchell Stokes mogurijin at gmail.com
Sun Jun 26 10:42:00 CEST 2011


Revision: 37822
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37822
Author:   moguri
Date:     2011-06-26 08:42:00 +0000 (Sun, 26 Jun 2011)
Log Message:
-----------
This solves the issue of having symlinks in the LIBDIR path (CMAKE Windows). Hopefully it doesn't break other things.

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

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2011-06-26 08:07:09 UTC (rev 37821)
+++ trunk/blender/CMakeLists.txt	2011-06-26 08:42:00 UTC (rev 37822)
@@ -996,7 +996,7 @@
 # Common.
 
 if(APPLE OR WIN32)
-	if((NOT IS_DIRECTORY "${LIBDIR}") AND (NOT IS_SYMLINK "${LIBDIR}"))
+	if(NOT EXISTS "${LIBDIR}/")
 		message(FATAL_ERROR "Apple and Windows require pre-compiled libs at: '${LIBDIR}'")
 	endif()
 endif()




More information about the Bf-blender-cvs mailing list