From 484389a8f450114709aa55732efab8c49b100e4f Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Mon, 30 Dec 2024 10:19:32 +0100 Subject: [PATCH] Use versionless target --- src/3d/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/3d/CMakeLists.txt b/src/3d/CMakeLists.txt index ee4e94d71eb4..f19a94d01cc9 100644 --- a/src/3d/CMakeLists.txt +++ b/src/3d/CMakeLists.txt @@ -288,11 +288,7 @@ target_include_directories(qgis_3d PUBLIC ${CMAKE_SOURCE_DIR}/external/tinygltf ) -if (BUILD_WITH_QT6) - target_link_libraries(qgis_3d Qt6::3DCore Qt6::3DRender Qt6::3DInput Qt6::3DLogic Qt6::3DExtras) -else() - target_link_libraries(qgis_3d Qt5::3DCore Qt5::3DRender Qt5::3DInput Qt5::3DLogic Qt5::3DExtras) -endif() +target_link_libraries(qgis_3d Qt::3DCore Qt::3DRender Qt::3DInput Qt::3DLogic Qt::3DExtras) GENERATE_EXPORT_HEADER( qgis_3d