Check for immintrin.h before using it in SDL_cpuinfo.h
This commit is contained in:
1 parent
1b16618b13
commit
f1ec8a5f4c
6 files changed
+46
-5
No files matched your search
@@ -580,6 +580,8 @@ if(ASSEMBLY)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
check_include_file("immintrin.h" HAVE_IMMINTRIN_H)
|
||||
|
||||
if(ALTIVEC)
|
||||
set(CMAKE_REQUIRED_FLAGS "-maltivec")
|
||||
check_c_source_compiles("
|
||||
|
||||
Reference in new issue
Block a user