Skip to content

Commit

Permalink
iOS?
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Oct 10, 2024
1 parent 3eb3eb7 commit 6f68d95
Show file tree
Hide file tree
Showing 2 changed files with 6 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 change: 1 addition & 0 deletions vcpkg/triplets/x64-ios.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ endif()
set(VCPKG_BUILD_TYPE release)
set(VCPKG_CXX_FLAGS "-fvisibility=hidden")
set(VCPKG_C_FLAGS "-fvisibility=hidden")
set(VCPKG_LINKER_FLAGS "-lresolv")

0 comments on commit 6f68d95

Please sign in to comment.