Commit 800fc132 authored by Matthias Möller's avatar Matthias Möller

add cmake switch for external openmesh installation

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17898 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 36251409
......@@ -2,7 +2,7 @@ include (ACGCommon)
include_directories (
..
${OPENMESH_INCLUDE_DIR}
${OPENMESH_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
......@@ -176,8 +176,7 @@ endif()
target_link_libraries (${OPENFLIPPER_PRODUCT_STRING}
OpenMeshCore
OpenMeshTools
${OPENMESH_CORE_LIBRARIES}
ACG
OpenFlipperPluginLib
${QT_LIBRARIES}
......
......@@ -19,7 +19,7 @@ endforeach ()
include_directories (
..
${OPENMESH_INCLUDE_DIR}
${OPENMESH_INCLUDE_DIRS}
${OPENVOLUMEMESH_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
......@@ -126,8 +126,7 @@ if( ADDITIONAL_PLUGINLIB_COMPILER_FLAGS )
endif()
target_link_libraries (OpenFlipperPluginLib
OpenMeshCore
OpenMeshTools
${OPENMESH_LIBRARIES}
${OPENVOLUMEMESH_LIBRARY}
ACG
${QT_LIBRARIES}
......
......@@ -384,7 +384,7 @@ function (_build_openflipper_plugin plugin)
include_directories (
.
${CMAKE_SOURCE_DIR}
${OPENMESH_INCLUDE_DIR}
${OPENMESH_INCLUDE_DIRS}
${OPENVOLUMEMESH_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
......@@ -532,8 +532,7 @@ function (_build_openflipper_plugin plugin)
# generate dllinport defines
add_definitions (-DACGDLL -DUSEACG -DPLUGINLIBDLL -DUSEPLUGINLIBDLL)
target_link_libraries (Plugin-${plugin}
OpenMeshCore
OpenMeshTools
${OPENMESH_LIBRARIES}
${OPENVOLUMEMESH_LIBRARY}
ACG
OpenFlipperPluginLib
......
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