Commit 8e907256 authored by Mike Kremer's avatar Mike Kremer

Prepared OpenMesh for external build.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@504 fdac6126-5c0c-442c-9429-916003d36597
parent 5596c3fd
......@@ -55,7 +55,12 @@ endif()
add_subdirectory (src/OpenMesh/Core)
add_subdirectory (src/OpenMesh/Tools)
add_subdirectory (src/OpenMesh/Apps)
add_subdirectory (src/Unittests)
# Do not build unit tests when build as external library
if(${PROJECT_NAME} MATCHES "OpenMesh")
add_subdirectory (src/Unittests)
endif()
add_subdirectory (Doc)
# ========================================================================
......
......@@ -3,6 +3,7 @@ include (ACGCommon)
include_directories (
../..
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/src
)
# source code directories
......
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