From 3de7a67562d2db9beb124bf9da3128c8565423cc Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sun, 26 Jun 2011 08:42:00 +0000 Subject: [PATCH] This solves the issue of having symlinks in the LIBDIR path (CMAKE Windows). Hopefully it doesn't break other things. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e2acf50a7b..a92041c00a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()