Commit f279f742 authored by Spencer Sherwin's avatar Spencer Sherwin
Browse files

Working version with search for libccmio.a and libadf.a

parent b9b33398
......@@ -177,7 +177,7 @@ INCLUDE (ThirdPartyPETSc)
INCLUDE (ThirdPartyVTK)
INCLUDE (ThirdPartyQT4)
INCLUDE (ThirdPartySMV)
#INCLUDE (ThirdPartyCCM)
INCLUDE (ThirdPartyCCM)
INCLUDE (Doxygen)
......
########################################################################
#
# ThirdParty configuration for Nektar++
#
# Star CCM i/o
#
########################################################################
OPTION(NEKTAR_USE_CCM
"CCM star i/o library is available." OFF)
IF( NEKTAR_USE_CCM )
FIND_LIBRARY(CCMIO_LIBRARY NAMES "ccmio" "adf" PATHS /usr/local/lib)
IF (CCMIO_LIBRARY)
MESSAGE(STATUS "Found Ccmio: ${CCMIO_LIBRARY}")
MARK_AS_ADVANCED(CCMIO_LIBRARY)
ADD_DEFINITIONS(-DNEKTAR_USE_CCM)
ELSE()
MESSAGE(FATAL_ERROR "Cound not find ccmio library")
ENDIF()
ENDIF( NEKTAR_USE_CCM )
......@@ -5,7 +5,6 @@ SET(MeshConvertHeaders
InputPly.h
InputSem.h
InputSwan.h
InputStar.h
InputStarTec.h
MeshElements.h
Module.h
......@@ -29,7 +28,6 @@ SET(MeshConvertSources
InputPly.cpp
InputSem.cpp
InputSwan.cpp
InputStar.cpp
InputStarTec.cpp
MeshConvert.cpp
MeshElements.cpp
......@@ -47,6 +45,11 @@ SET(MeshConvertSources
ProcessTetSplit.cpp
)
IF (NEKTAR_USE_CCM)
SET(MeshConvertHeaders ${MeshConvertHeaders} InputStar.h)
SET(MeshConvertSources ${MeshConvertSources} InputStar.cpp)
ENDIF (NEKTAR_USE_CCM)
IF (NEKTAR_USE_VTK)
SET(MeshConvertHeaders ${MeshConvertHeaders} InputVtk.h OutputVtk.h)
SET(MeshConvertSources ${MeshConvertSources} InputVtk.cpp OutputVtk.cpp)
......
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