aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ampl-asl/0006-disable-generate-arith-h.diff
diff options
context:
space:
mode:
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.diff13
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)