mirror of https://github.com/CGAL/cgal
copy demo resources in the cmake module dir during release creation and fetch it from here during installation
This commit is contained in:
parent
2f4d00af15
commit
f5c32f126f
|
|
@ -42,14 +42,25 @@ install(
|
|||
DESTINATION "${CGAL_INSTALL_INC_DIR}/CGAL/Qt"
|
||||
COMPONENT CGAL_Qt5)
|
||||
if(CGAL_HEADER_ONLY)
|
||||
install(
|
||||
DIRECTORY "../../demo/resources/"
|
||||
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/resources"
|
||||
COMPONENT CGAL_Qt5)
|
||||
install(
|
||||
DIRECTORY "../../demo/icons/"
|
||||
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/icons"
|
||||
COMPONENT CGAL_Qt5)
|
||||
if(EXISTS ${CGAL_MODULES_DIR}/demo/resources)
|
||||
install(
|
||||
DIRECTORY "${CGAL_MODULES_DIR}/demo/resources/"
|
||||
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/resources"
|
||||
COMPONENT CGAL_Qt5)
|
||||
install(
|
||||
DIRECTORY "${CGAL_MODULES_DIR}/demo/icons/"
|
||||
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/icons"
|
||||
COMPONENT CGAL_Qt5)
|
||||
else()
|
||||
install(
|
||||
DIRECTORY "../../demo/resources/"
|
||||
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/resources"
|
||||
COMPONENT CGAL_Qt5)
|
||||
install(
|
||||
DIRECTORY "../../demo/icons/"
|
||||
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/icons"
|
||||
COMPONENT CGAL_Qt5)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
message("libCGAL_Qt5 is configured")
|
||||
|
|
|
|||
|
|
@ -158,6 +158,8 @@ if(EXISTS ${GIT_REPO}/Maintenance/release_building/public_release_name)
|
|||
file(COPY "${GIT_REPO}/Maintenance/release_building/public_release_name"
|
||||
DESTINATION "${release_dir}/doc")
|
||||
endif()
|
||||
file(COPY ${GIT_REPO}/GraphicsView/demo/resources ${GIT_REPO}/GraphicsView/demo/icons
|
||||
DESTINATION "${release_dir}/cmake/modules")
|
||||
|
||||
#create VERSION
|
||||
file(WRITE ${release_dir}/VERSION "${CGAL_VERSION}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue