Commit 395fc68e authored by Jan Möbius's avatar Jan Möbius
Browse files

Splitted OpenVolumemesh into separate type dir

parent 75865482
......@@ -16,6 +16,7 @@ FIND_PATH(OPENVOLUMEMESH_INCLUDE_DIR OpenVolumeMesh/Mesh/PolyhedralMesh.hh
PATHS /usr/local/include
/usr/include
/usr/local/OpenVolumeMesh/include
"${CMAKE_SOURCE_DIR}/Type-OpenVolumeMesh/libs/OpenVolumeMesh/src"
"${CMAKE_SOURCE_DIR}/OpenVolumeMesh/src"
"${CMAKE_SOURCE_DIR}/libs_required/OpenVolumeMesh/src"
"${CMAKE_SOURCE_DIR}/../OpenVolumeMesh/src"
......
......@@ -332,7 +332,7 @@ macro (_check_plugin_deps _prefix _optional )
if ( DEFINED ${_TYPE}_INCLUDE )
list(APPEND ${_prefix}_TYPE_INCLUDES "${${_TYPE}_INCLUDE}")
list(APPEND ${_prefix}_TYPE_DEPENDENCIES "${_TYPE}")
set(${_prefix}_TYPE_DEFINITIONS "${${_prefix}_TYPE_DEFENITIONS} -DENABLE_${_TYPE}_SUPPORT")
set(${_prefix}_TYPE_DEFINITIONS "${${_prefix}_TYPE_DEFINITIONS} -DENABLE_${_TYPE}_SUPPORT")
else()
acg_set (_${_prefix}_MISSING_DEPS "${_${_prefix}_MISSING_DEPS} TYPE_${_TYPE} ")
set (${_prefix}_HAS_DEPS FALSE)
......@@ -351,7 +351,7 @@ macro (_check_plugin_deps _prefix _optional )
if ( DEFINED ${_TYPE}_INCLUDE )
list(APPEND ${_prefix}_TYPE_INCLUDES "${${_TYPE}_INCLUDE}")
list(APPEND ${_prefix}_TYPE_DEPENDENCIES "${_TYPE}")
set(${_prefix}_TYPE_DEFINITIONS "${${_prefix}_TYPE_DEFENITIONS} -DENABLE_${_TYPE}_SUPPORT")
set(${_prefix}_TYPE_DEFINITIONS "${${_prefix}_TYPE_DEFINITIONS} -DENABLE_${_TYPE}_SUPPORT")
else()
message(warning "Optional Datatype ${_TYPE} not available, proceeding without it")
endif()
......
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