Commit 153d5dcf authored by Mike Kremer's avatar Mike Kremer

Copy doc if build on mac

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@356 fdac6126-5c0c-442c-9429-916003d36597
parent 084a7a28
......@@ -129,7 +129,7 @@ if (WIN32)
endif()
# copy the documentation if it exists
IF ( WIN32)
IF ( WIN32 )
if (EXISTS ${CMAKE_BINARY_DIR}/Build/Doc)
install(DIRECTORY ${CMAKE_BINARY_DIR}/Build/Doc
DESTINATION ./
......@@ -171,6 +171,15 @@ else ()
include (InstallRequiredSystemLibraries)
endif ()
if (APPLE)
if (EXISTS ${CMAKE_BINARY_DIR}/Build/share/OpenMesh/Doc)
install(DIRECTORY ${CMAKE_BINARY_DIR}/Build/share/OpenMesh/Doc
DESTINATION ./
COMPONENT Applications
)
endif()
endif()
include (CPack)
......
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