Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-06-26 10:05:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-06-26 10:05:56 +0400
commit83000d8504269b61eb8645fc92979603521a1ae6 (patch)
tree83353e4cb53fe419ea1249a4f1b10cb691a06860 /CMakeLists.txt
parentc414d3e460246c892d18da7edb52eed6321f32eb (diff)
Allow the lib dir to be a symlink, pointed out by Mitchell Stokes.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()