This solves the issue of having symlinks in the LIBDIR path (CMAKE Windows). Hopefully it doesn't break other things.

This commit is contained in:
Mitchell Stokes
2011-06-26 08:42:00 +00:00
parent 8eb119a5cd
commit 3de7a67562

View File

@@ -996,7 +996,7 @@ endif()
# 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()