Commit b95b7a0b authored by Spencer Sherwin's avatar Spencer Sherwin

Added checks to look for ccmio.h file in CCMIO_INCLUDE_DIR

parent 34b15324
......@@ -15,6 +15,7 @@ IF( NEKTAR_USE_CCM )
MESSAGE(STATUS "Found Ccmio: ${CCMIO_LIBRARY}")
MARK_AS_ADVANCED(CCMIO_LIBRARY)
ADD_DEFINITIONS(-DNEKTAR_USE_CCM)
FIND_PATH (CCMIO_INCLUDE_DIR ccmio.h)
ELSE()
MESSAGE(FATAL_ERROR "Cound not find ccmio library")
ENDIF()
......
......@@ -60,6 +60,7 @@ ADD_UTILITIES_EXECUTABLE(MeshConvert util ${MeshConvertSources} ${MeshConvertHea
IF (NEKTAR_USE_CCM)
TARGET_LINK_LIBRARIES(MeshConvert ccmio adf)
INCLUDE_DIRECTORIES(MeshConvert ${CCMIO_INCLUDE_DIR})
ENDIF (NEKTAR_USE_CCM)
IF (NEKTAR_USE_VTK)
......
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