Commit 28019ce2 authored by Naumann, Andreas's avatar Naumann, Andreas
Browse files

added boost finding

parent cc81daea
...@@ -30,6 +30,11 @@ if(ENABLE_INTEL) ...@@ -30,6 +30,11 @@ if(ENABLE_INTEL)
#SET(CMAKE_C_COMPILER "icc") #SET(CMAKE_C_COMPILER "icc")
endif(ENABLE_INTEL) endif(ENABLE_INTEL)
if(ENABLE_BOOST)
SET(COMPILEFLAGS "${COMPILEFLAGS} -DHAVE_BOOST=1")
find_package(Boost 1.42 REQUIRED)
endif(ENABLE_BOOST)
SET(LIB_DIR ./lib) SET(LIB_DIR ./lib)
SET(SOURCE_DIR ./src) SET(SOURCE_DIR ./src)
SET(AMDIS_SRC ${SOURCE_DIR}/DOFIndexed.cc ${SOURCE_DIR}/GNUPlotWriter.cc ${SOURCE_DIR}/VertexVector.cc SET(AMDIS_SRC ${SOURCE_DIR}/DOFIndexed.cc ${SOURCE_DIR}/GNUPlotWriter.cc ${SOURCE_DIR}/VertexVector.cc
...@@ -116,10 +121,6 @@ if(ENABLE_DUNE) ...@@ -116,10 +121,6 @@ if(ENABLE_DUNE)
SET(COMPILEFLAGS "${COMPILEFLAGS} -DHAVE_DUNE=1") SET(COMPILEFLAGS "${COMPILEFLAGS} -DHAVE_DUNE=1")
endif(ENABLE_DUNE) endif(ENABLE_DUNE)
if(ENABLE_BOOST)
SET(COMPILEFLAGS "${COMPILEFLAGS} -DHAVE_BOOST=1")
endif(ENABLE_BOOST)
SET(COMPOSITE_SOURCE_DIR compositeFEM/src) SET(COMPOSITE_SOURCE_DIR compositeFEM/src)
SET(COMPOSITE_FEM_SRC ${COMPOSITE_SOURCE_DIR}/CFE_Integration.cc ${COMPOSITE_SOURCE_DIR}/CFE_NormAndErrorFcts.cc SET(COMPOSITE_FEM_SRC ${COMPOSITE_SOURCE_DIR}/CFE_Integration.cc ${COMPOSITE_SOURCE_DIR}/CFE_NormAndErrorFcts.cc
${COMPOSITE_SOURCE_DIR}/CompositeFEMMethods.cc ${COMPOSITE_SOURCE_DIR}/LevelSetAdaptMesh.cc ${COMPOSITE_SOURCE_DIR}/CompositeFEMMethods.cc ${COMPOSITE_SOURCE_DIR}/LevelSetAdaptMesh.cc
......
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