mirror of https://github.com/CGAL/cgal
fix the install of /include/CGAL/Qt
This commit is contained in:
parent
f8a487d9ef
commit
a000007c8c
|
|
@ -73,6 +73,8 @@ if(CGAL_BRANCH_BUILD)
|
|||
set(CGAL_GRAPHICSVIEW_PACKAGE_DIR
|
||||
"${CGAL_SOURCE_DIR}/GraphicsView"
|
||||
CACHE INTERNAL "Directory containing the GraphicsView package")
|
||||
file(GLOB INCLUDE_CGAL_QT_DIRECTORIES "${CGAL_SOURCE_DIR}/*/include/CGAL/Qt")
|
||||
message(STATUS "Include CGAL/Qt directories: ${INCLUDE_CGAL_QT_DIRECTORIES}")
|
||||
|
||||
message(STATUS "Installation package directory: ${CGAL_INSTALLATION_PACKAGE_DIR}")
|
||||
message(STATUS "Maintenance package directory: ${CGAL_MAINTENANCE_PACKAGE_DIR}")
|
||||
|
|
@ -104,6 +106,7 @@ else(CGAL_BRANCH_BUILD)
|
|||
set(CGAL_GRAPHICSVIEW_PACKAGE_DIR
|
||||
"${CGAL_SOURCE_DIR}"
|
||||
CACHE INTERNAL "Directory containing the GraphicsView package")
|
||||
set(INCLUDE_CGAL_QT_DIRECTORIES "${CGAL_SOURCE_DIR}/include/CGAL/Qt")
|
||||
|
||||
# Enable testing with BUILD_TESTING
|
||||
option(BUILD_TESTING "Build the testing tree." OFF)
|
||||
|
|
@ -647,7 +650,7 @@ cache_get(CGAL_3RD_PARTY_INCLUDE_DIRS )
|
|||
cache_get(CGAL_3RD_PARTY_LIBRARIES )
|
||||
cache_get(CGAL_3RD_PARTY_LIBRARIES_DIRS)
|
||||
|
||||
install(DIRECTORY "${CGAL_GRAPHICSVIEW_PACKAGE_DIR}/include/CGAL/Qt/" DESTINATION "${CGAL_INSTALL_INC_DIR}/CGAL/Qt" COMPONENT CGAL_Qt6)
|
||||
install(DIRECTORY ${INCLUDE_CGAL_QT_DIRECTORIES} DESTINATION "${CGAL_INSTALL_INC_DIR}/CGAL/" COMPONENT CGAL_Qt6)
|
||||
if(CGAL_BRANCH_BUILD)
|
||||
install(DIRECTORY "${CGAL_GRAPHICSVIEW_PACKAGE_DIR}/demo/resources/" DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/resources" COMPONENT CGAL_Qt6)
|
||||
install(DIRECTORY "${CGAL_GRAPHICSVIEW_PACKAGE_DIR}/demo/icons/" DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/icons" COMPONENT CGAL_Qt6)
|
||||
|
|
|
|||
Loading…
Reference in New Issue