Skip to content

Commit

Permalink
Use versionless target
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 30, 2024
1 parent 2b89189 commit 484389a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/3d/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 484389a

Please sign in to comment.