mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 12:01:27 +00:00
22 lines
934 B
Diff
22 lines
934 B
Diff
--- a/ports/cmake/cmake/CheckCPUArch.cmake
|
|
+++ b/ports/cmake/cmake/CheckCPUArch.cmake
|
|
@@ -2,7 +2,7 @@
|
|
if(NOT DEFINED HAVE_${VARIABLE})
|
|
message(STATUS "Check CPU architecture is ${ARCH}")
|
|
set(CHECK_CPU_ARCH_DEFINES ${ARCH_DEFINES})
|
|
- configure_file(${PROJECT_SOURCE_DIR}/CheckCPUArch.c.in ${PROJECT_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckCPUArch.c @ONLY)
|
|
+ configure_file(${PROJECT_SOURCE_DIR}/cmake/CheckCPUArch.c.in ${PROJECT_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckCPUArch.c @ONLY)
|
|
try_compile(HAVE_${VARIABLE} "${PROJECT_BINARY_DIR}"
|
|
"${PROJECT_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckCPUArch.c")
|
|
if(HAVE_${VARIABLE})
|
|
--- a/ports/cmake/src/CMakeLists.txt
|
|
+++ b/ports/cmake/src/CMakeLists.txt
|
|
@@ -186,7 +186,7 @@
|
|
set(NO_ERETURN ON)
|
|
endif()
|
|
|
|
-cmake_host_system_information(RESULT HAVE_FPU QUERY HAS_FPU)
|
|
+set(HAVE_FPU ON)
|
|
|
|
if(NOT HAVE_FPU)
|
|
set(NO_SYNTH32 ON)
|