From 83000d8504269b61eb8645fc92979603521a1ae6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 26 Jun 2011 06:05:56 +0000 Subject: [PATCH] Allow the lib dir to be a symlink, pointed out by Mitchell Stokes. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dc81a726f7c..7e2acf50a7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -996,7 +996,7 @@ endif() # 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()