Allow the lib dir to be a symlink, pointed out by Mitchell Stokes.
This commit is contained in:
@@ -996,7 +996,7 @@ endif()
|
|||||||
# Common.
|
# Common.
|
||||||
|
|
||||||
if(APPLE OR WIN32)
|
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}'")
|
message(FATAL_ERROR "Apple and Windows require pre-compiled libs at: '${LIBDIR}'")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user