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 11, 2024
1 parent 13ea1c5 commit f886951
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

1 comment on commit f886951

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.