add alias target to keep old name CGAL::CGAL_Basic_viewer.

This commit is contained in:
Guillaume Damiand 2025-04-25 17:19:05 +02:00
parent 02dc855e8d
commit 807806b1db
3 changed files with 3 additions and 0 deletions

View File

@ -213,6 +213,7 @@ if (NOT TARGET CGAL::CGAL_Basic_viewer_Qt)
set_target_properties(CGAL::CGAL_Basic_viewer_Qt PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "CGAL_USE_BASIC_VIEWER_QT;QT_NO_KEYWORDS"
INTERFACE_LINK_LIBRARIES CGAL::CGAL_Qt6)
add_library(CGAL::CGAL_Basic_viewer ALIAS CGAL::CGAL_Basic_viewer_Qt)
endif()
include("${CGAL_MODULES_DIR}/CGAL_enable_end_of_configuration_hook.cmake")

View File

@ -198,6 +198,7 @@ if (NOT TARGET CGAL::CGAL_Basic_viewer_Qt)
set_target_properties(CGAL::CGAL_Basic_viewer_Qt PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "CGAL_USE_BASIC_VIEWER_QT;QT_NO_KEYWORDS"
INTERFACE_LINK_LIBRARIES CGAL::CGAL_Qt6)
add_library(CGAL::CGAL_Basic_viewer ALIAS CGAL::CGAL_Basic_viewer_Qt)
endif()
include("${CGAL_MODULES_DIR}/CGAL_enable_end_of_configuration_hook.cmake")

View File

@ -201,6 +201,7 @@ if (NOT TARGET CGAL::CGAL_Basic_viewer_Qt)
set_target_properties(CGAL::CGAL_Basic_viewer_Qt PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "CGAL_USE_BASIC_VIEWER_QT"
INTERFACE_LINK_LIBRARIES CGAL::CGAL_Qt6)
add_library(CGAL::CGAL_Basic_viewer ALIAS CGAL::CGAL_Basic_viewer_Qt)
endif()
#warning: the order in this list has to match the enum in Exact_type_selector