Commit 1016b6b3 authored by Jan Möbius's avatar Jan Möbius
Browse files

Make OpenMesh non mandatory for build

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20359 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0ff599b8
...@@ -444,11 +444,11 @@ function (_build_openflipper_plugin plugin) ...@@ -444,11 +444,11 @@ function (_build_openflipper_plugin plugin)
endif(WIN32) endif(WIN32)
if (${_PLUGIN}_HAS_DEPS) if (${_PLUGIN}_HAS_DEPS)
include_directories ( include_directories (
. .
${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}
${OPENMESH_INCLUDE_DIRS} ${OPENMESH_INCLUDE_DIRS}
${OPENVOLUMEMESH_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}
${${_PLUGIN}_DEPS_INCDIRS} ${${_PLUGIN}_DEPS_INCDIRS}
...@@ -598,7 +598,6 @@ function (_build_openflipper_plugin plugin) ...@@ -598,7 +598,6 @@ function (_build_openflipper_plugin plugin)
add_definitions (-DACGDLL -DUSEACG -DPLUGINLIBDLL -DUSEPLUGINLIBDLL) add_definitions (-DACGDLL -DUSEACG -DPLUGINLIBDLL -DUSEPLUGINLIBDLL)
target_link_libraries (Plugin-${plugin} target_link_libraries (Plugin-${plugin}
${OPENMESH_LIBRARIES} ${OPENMESH_LIBRARIES}
${OPENVOLUMEMESH_LIBRARY}
ACG ACG
OpenFlipperPluginLib OpenFlipperPluginLib
${GLUT_LIBRARIES} ${GLUT_LIBRARIES}
......
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