Copy doc if build on mac
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@356 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -129,7 +129,7 @@ if (WIN32)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# copy the documentation if it exists
|
# copy the documentation if it exists
|
||||||
IF ( WIN32)
|
IF ( WIN32 )
|
||||||
if (EXISTS ${CMAKE_BINARY_DIR}/Build/Doc)
|
if (EXISTS ${CMAKE_BINARY_DIR}/Build/Doc)
|
||||||
install(DIRECTORY ${CMAKE_BINARY_DIR}/Build/Doc
|
install(DIRECTORY ${CMAKE_BINARY_DIR}/Build/Doc
|
||||||
DESTINATION ./
|
DESTINATION ./
|
||||||
@@ -171,6 +171,15 @@ else ()
|
|||||||
include (InstallRequiredSystemLibraries)
|
include (InstallRequiredSystemLibraries)
|
||||||
endif ()
|
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)
|
include (CPack)
|
||||||
|
|
||||||
@@ -184,4 +193,4 @@ if (EXISTS "${CMAKE_BINARY_DIR}/CPackSourceConfig.cmake")
|
|||||||
add_custom_target (PACKAGE_SOURCE
|
add_custom_target (PACKAGE_SOURCE
|
||||||
${CMAKE_CPACK_COMMAND} --config "${CMAKE_BINARY_DIR}/CPackSourceConfig.cmake"
|
${CMAKE_CPACK_COMMAND} --config "${CMAKE_BINARY_DIR}/CPackSourceConfig.cmake"
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|||||||
Reference in New Issue
Block a user