Commit a87a8e5a authored by Jan Möbius's avatar Jan Möbius
Browse files
parents fe5f4038 6da401db
......@@ -26,8 +26,17 @@ foreach ( OF_PACKAGE ${OF_PACKAGES})
list(APPEND PACKAGE_INCLUDES "${CMAKE_SOURCE_DIR}/${OF_PACKAGES}")
endforeach ()
# search all lib directories in packages for OpenFlipper
file (
GLOB PACKAGE_DIRS
"${CMAKE_SOURCE_DIR}/Package-*"
)
include_directories (
..
${PACKAGE_DIRS}
${OPENMESH_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
......
......@@ -455,8 +455,16 @@ function (_build_openflipper_plugin plugin)
list(APPEND PACKAGE_INCLUDES "${CMAKE_SOURCE_DIR}/${OF_PACKAGES}")
endforeach ()
# search all lib directories in packages for OpenFlipper
file (
GLOB PACKAGE_DIRS
"${CMAKE_SOURCE_DIR}/Package-*"
)
include_directories (
.
${PACKAGE_DIRS}
${CMAKE_SOURCE_DIR}
${OPENMESH_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
......
......@@ -12,8 +12,18 @@ IF (ISOEX_INCLUDE_DIRS)
SET(ISOEX_FIND_QUIETLY TRUE)
ENDIF (ISOEX_INCLUDE_DIRS)
# search all lib directories in packages for OpenFlipper
file (
GLOB _libdirs
"${CMAKE_SOURCE_DIR}/libs"
"${CMAKE_SOURCE_DIR}/Package-*/libs"
)
FIND_PATH( ISOEX_INCLUDE_DIRS IsoEx/Extractors/MarchingCubesT.hh
PATHS "${CMAKE_SOURCE_DIR}/libs" )
PATHS "${_libdirs}"
"${CMAKE_SOURCE_DIR}/libs" )
add_definitions (-DISOEXDLL -DUSEISOEX )
......
Supports Markdown
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