Skip to content

Commit

Permalink
Save time by not building crssync on Android and iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Oct 10, 2024
1 parent 3eb3eb7 commit 905515c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vcpkg/ports/qgis/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ if(VCPKG_TARGET_IS_IOS)
list(APPEND QGIS_OPTIONS -DWITH_QTSERIALPORT=FALSE)
endif()

# Build crssync only runs when building natively.
if(NOT HOST_TRIPLET STREQUAL TARGET_TRIPLET)
list(APPEND QGIS_OPTIONS -DNATIVE_CRSSYNC_BIN=true)
endif()

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
#PREFER_NINJA
Expand Down

0 comments on commit 905515c

Please sign in to comment.