This is an initial pass, simply moving the existing logic as-is. Future PR's will attempt to refactor and improve the cmake stuff.
12 lines
502 B
CMake
12 lines
502 B
CMake
macro(SetupOpenCasCade)
|
|
# -------------------------------- OpenCasCade --------------------------------
|
|
|
|
find_package(OpenCasCade)
|
|
if(NOT OCC_FOUND)
|
|
message(FATAL_ERROR "================================================================\n"
|
|
"Neither OpenCASCADE Community Edition nor OpenCASCADE was found!\n"
|
|
"================================================================\n")
|
|
endif(NOT OCC_FOUND)
|
|
|
|
endmacro(SetupOpenCasCade)
|