diff --git a/Installation/lib/cmake/CGAL/CGALConfig.cmake b/Installation/lib/cmake/CGAL/CGALConfig.cmake index 81f84153dde..0d20a7e9bbc 100644 --- a/Installation/lib/cmake/CGAL/CGALConfig.cmake +++ b/Installation/lib/cmake/CGAL/CGALConfig.cmake @@ -199,7 +199,7 @@ endforeach() if (NOT TARGET CGAL::CGAL_Basic_viewer) add_library(CGAL::CGAL_Basic_viewer INTERFACE IMPORTED GLOBAL) set_target_properties(CGAL::CGAL_Basic_viewer PROPERTIES - INTERFACE_COMPILE_DEFINITIONS "CGAL_USE_BASIC_VIEWER;QT_NO_KEYWORDS" + INTERFACE_COMPILE_DEFINITIONS "CGAL_USE_BASIC_VIEWER" INTERFACE_LINK_LIBRARIES CGAL::CGAL_Qt6) endif()