vcpkg/ports/gdal/remove-machine-flag.patch
2024-11-19 22:42:29 +00:00

13 lines
399 B
Diff

diff --git a/gdal.cmake b/gdal.cmake
index 029eedd..412fc88 100644
--- a/gdal.cmake
+++ b/gdal.cmake
@@ -409,7 +409,6 @@ if (MSVC)
target_sources(${GDAL_LIB_TARGET_NAME} PRIVATE gcore/Version.rc)
source_group("Resource Files" FILES gcore/Version.rc)
if (CMAKE_CL_64)
- set_target_properties(${GDAL_LIB_TARGET_NAME} PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64")
endif ()
endif ()