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()