mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
cmake - relax CGAL_INCLUDE_DIR check on Linux #7023
This commit is contained in:
@@ -225,7 +225,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
endmacro()
|
||||
|
||||
if(WITH_CGAL)
|
||||
if(NOT EXISTS "${CGAL_INCLUDE_DIR}")
|
||||
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT EXISTS "${CGAL_INCLUDE_DIR}")
|
||||
message(FATAL_ERROR "CGAL_INCLUDE_DIR ('${CGAL_INCLUDE_DIR}') is not provided or doesn't exist.")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user