Skip to content
Snippets Groups Projects
Commit 69e5ccf8 authored by Hahn, Steven's avatar Hahn, Steven
Browse files

Refs #14013. Define preprocessor directive project-wide.

parent 82922f6f
No related branches found
No related tags found
No related merge requests found
......@@ -398,10 +398,8 @@ endif(UNITY_BUILD)
# ===================== Open Cascade ===================
if (ENABLE_OPENCASCADE)
find_package ( OpenCascade REQUIRED )
include_directories ( system ${OPENCASCADE_INCLUDE_DIR} )
set (SRC_FILES ${SRC_FILES} ${OPENCASCADE_SRC} )
add_definitions ( -DENABLE_OPENCASCADE )
endif ()
# A few defines needed for OpenCascade on the Mac
......
......@@ -57,6 +57,11 @@ find_package ( MuParser REQUIRED )
find_package ( JsonCPP REQUIRED )
include_directories ( SYSTEM ${JSONCPP_INCLUDE_DIR} )
if (ENABLE_OPENCASCADE)
find_package ( OpenCascade REQUIRED )
add_definitions ( -DENABLE_OPENCASCADE )
endif ()
find_package ( Doxygen ) # optional
# Need to change search path to find zlib include on Windows.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment