Commit e5f4fc0f authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[cmake] add message when occ toolkit is found

parent 1a04135d
......@@ -74,6 +74,7 @@ if (OCC_INC)
PATH_SUFFIXES lib ${OCC_SYS_NAME}/lib ${OCC_SYS_NAME}/vc8/lib)
if (OCC_LIB)
list(APPEND OCC_LIBS ${OCC_LIB})
message(STATUS "Found OCC toolkit " ${OCC})
else ()
message(STATUS "OCC lib " ${OCC} " not Found")
endif ()
......@@ -85,12 +86,14 @@ if (OCC_INC)
if (NUM_OCC_LIBS EQUAL NUM_OCC_LIBS_REQUIRED)
set(HAVE_OCC TRUE)
list(APPEND CONFIG_OPTIONS "OpenCASCADE")
message(STATUS "Found " "OpenCASCADE")
message(STATUS "Found required OpenCASCADE toolkits")
list(APPEND EXTERNAL_LIBRARIES ${OCC_LIBS})
list(APPEND EXTERNAL_INCLUDES ${OCC_INC})
if (HAVE_64BIT_SIZE_T)
add_definitions(-D_OCC64)
endif ()
else ()
message(WARNING "Did not find all required OpenCASCADE toolkits!")
endif ()
else ()
message(FATAL_ERROR "OpenCascade sources not found")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment