diff --git a/Installation/cmake/modules/CGALConfig_binary.cmake.in b/Installation/cmake/modules/CGALConfig_binary.cmake.in index 0af7e1a6862..9caa2801d3d 100644 --- a/Installation/cmake/modules/CGALConfig_binary.cmake.in +++ b/Installation/cmake/modules/CGALConfig_binary.cmake.in @@ -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") diff --git a/Installation/cmake/modules/CGALConfig_install.cmake.in b/Installation/cmake/modules/CGALConfig_install.cmake.in index 888da0f485f..84bb413c9a0 100644 --- a/Installation/cmake/modules/CGALConfig_install.cmake.in +++ b/Installation/cmake/modules/CGALConfig_install.cmake.in @@ -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") diff --git a/Installation/lib/cmake/CGAL/CGALConfig.cmake b/Installation/lib/cmake/CGAL/CGALConfig.cmake index ea8fdd14cae..5ddd5f53852 100644 --- a/Installation/lib/cmake/CGAL/CGALConfig.cmake +++ b/Installation/lib/cmake/CGAL/CGALConfig.cmake @@ -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