Zelda64Recomp/cmake/ZREDetectSSE42.cmake

9 lines
206 B
CMake
Raw Normal View History

2024-05-22 00:52:49 +02:00
if(NOT DEFINED SUPPORTS_SSE42)
try_compile(SUPPORTS_SSE42
"${CMAKE_BINARY_DIR}"
"${CMAKE_SOURCE_DIR}/cmake/checks/cpu_sse42.cpp"
)
endif()
message(STATUS "SUPPORTS SSE4.2 = ${SUPPORTS_SSE42}")