diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-26 10:05:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-26 10:05:56 +0400 |
commit | 83000d8504269b61eb8645fc92979603521a1ae6 (patch) | |
tree | 83353e4cb53fe419ea1249a4f1b10cb691a06860 /CMakeLists.txt | |
parent | c414d3e460246c892d18da7edb52eed6321f32eb (diff) |
Allow the lib dir to be a symlink, pointed out by Mitchell Stokes.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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() |