Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 28, 2021
1 parent 0e72e01 commit 74a4c13
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/3d/CMakeLists.txt
Expand Up @@ -195,9 +195,15 @@ add_library(qgis_3d SHARED ${QGIS_3D_SRCS} ${QGIS_3D_HDRS} ${QGIS_3D_RCCS} ${QGI
# require c++17
target_compile_features(qgis_3d PRIVATE cxx_std_17)

target_include_directories(qgis_3d SYSTEM PUBLIC
${${QT_VERSION_BASE}_3DEXTRA_INCLUDE_DIR}
)
if (WITH_QT6)
target_include_directories(qgis_3d SYSTEM PUBLIC
${QT6_3DEXTRA_INCLUDE_DIR}
)
else()
target_include_directories(qgis_3d SYSTEM PUBLIC
${QT5_3DEXTRA_INCLUDE_DIR}
)
endif()

target_include_directories(qgis_3d PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
Expand Down

0 comments on commit 74a4c13

Please sign in to comment.