diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ampl-asl/0006-disable-generate-arith-h.diff | |
Diffstat (limited to 'vcpkg/ports/ampl-asl/0006-disable-generate-arith-h.diff')
| -rw-r--r-- | vcpkg/ports/ampl-asl/0006-disable-generate-arith-h.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/ampl-asl/0006-disable-generate-arith-h.diff b/vcpkg/ports/ampl-asl/0006-disable-generate-arith-h.diff new file mode 100644 index 0000000..0c82023 --- /dev/null +++ b/vcpkg/ports/ampl-asl/0006-disable-generate-arith-h.diff @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1d4b65e..21b32ae 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -104,7 +104,7 @@ file(WRITE ${GENERATED_INCLUDE_DIR}/details.c "${DETAILS}") + configure_file(${SRCDIR}/solvers/stdio1.h0 ${GENERATED_INCLUDE_DIR}/stdio1.h + COPYONLY) + +-if(CMAKE_CROSSCOMPILING AND CMAKE_SYSTEM_PROCESSOR MATCHES "^x86") ++if(0) + include(CheckTypeSize) + check_type_size(double DOUBLE_SIZE) + check_type_size(long LONG_SIZE) |