Fix mistake

This commit is contained in:
dcvz 2024-05-22 01:01:11 +02:00
parent 0f4db23fe0
commit 9cdb8099f8
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ jobs:
# enable ccache
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=clang++-15 -DCMAKE_C_COMPILER=clang-15 -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build -DSUPPORTS_SSE42=TRUE
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=clang++-15 -DCMAKE_C_COMPILER=clang-15 -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build -DSUPPORTS_SSE42=ON
cmake --build cmake-build --config ${{ matrix.type }} --target Zelda64Recompiled -j 8
- name: Prepare Archive
run: |

View File

@ -28,7 +28,7 @@ endif()
include(cmake/ZREDetectSSE42.cmake)
include(cmake/ZREDetectNEON.cmake)
if(CMAKE_SIZEOF_VOID_P EQUAL 8 AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|amd64|AMD64" AND NOT SUPPORTS_AVX)
if(CMAKE_SIZEOF_VOID_P EQUAL 8 AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|amd64|AMD64" AND NOT SUPPORTS_SSE42)
message(FATAL_ERROR "FATAL: A CPU supporting SSE4.2 is required.")
elseif(NOT SUPPORTS_NEON)
message(FATAL_ERROR "FATAL: A CPU supporting NEON is required.")