Skip to content

Commit

Permalink
Fix install path
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and nirvn committed Apr 23, 2024
1 parent 74705fe commit a5050d2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions CMakeLists.txt
Expand Up @@ -277,8 +277,14 @@ if(WITH_VCPKG)
install(DIRECTORY "${VCPKG_BASE_DIR}/share/gdal/" DESTINATION "${CMAKE_INSTALL_DATADIR}/gdal")

if(VCPKG_TARGET_TRIPLET STREQUAL "x64-windows")
install(DIRECTORY "${VCPKG_BASE_DIR}/bin/" DESTINATION "${CMAKE_INSTALL_DATADIR}/bin" FILES_MATCHING PATTERN "*.dll")
install(DIRECTORY "${VCPKG_BASE_DIR}/Qt6/" DESTINATION "${CMAKE_INSTALL_DATADIR}/bin/Qt6")
install(DIRECTORY "${VCPKG_BASE_DIR}/bin/" DESTINATION "${CMAKE_INSTALL_BINDIR}" FILES_MATCHING PATTERN "*.dll")
install(DIRECTORY "${VCPKG_BASE_DIR}/Qt6/"
DESTINATION "${CMAKE_INSTALL_BINDIR}/Qt6"
FILES_MATCHING
PATTERN "*.dll"
PATTERN "qmldir"
PATTERN "*.qmltypes"
)
endif()

add_dependencies(qfield deploy)
Expand Down

0 comments on commit a5050d2

Please sign in to comment.