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:
authorMitchell Stokes <mogurijin@gmail.com>2011-06-26 12:42:00 +0400
committerMitchell Stokes <mogurijin@gmail.com>2011-06-26 12:42:00 +0400
commit3de7a67562d2db9beb124bf9da3128c8565423cc (patch)
tree43603cf74e6636246d7ae78a159007a19b791617 /CMakeLists.txt
parent8eb119a5cd05dc39fd6afec2aa40e4c425622462 (diff)
This solves the issue of having symlinks in the LIBDIR path (CMAKE Windows). Hopefully it doesn't break other things.
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 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()