Allow the lib dir to be a symlink, pointed out by Mitchell Stokes.

This commit is contained in:
Campbell Barton
2011-06-26 06:05:56 +00:00
parent c414d3e460
commit 83000d8504

View File

@@ -996,7 +996,7 @@ endif()
# Common. # Common.
if(APPLE OR WIN32) 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}'") message(FATAL_ERROR "Apple and Windows require pre-compiled libs at: '${LIBDIR}'")
endif() endif()
endif() endif()