cmake: don't cache HAVE_3DNOW value

This commit is contained in:
Anonymous Maarten 2022-11-25 23:22:17 +01:00 committed by Anonymous Maarten
parent 82360b3175
commit 46d85fd5a4
1 changed files with 3 additions and 2 deletions

View File

@ -783,8 +783,9 @@ if(SDL_ASSEMBLY)
void *p = 0;
_m_prefetch(p);
return 0;
}" HAVE_3DNOW)
if(HAVE_3DNOW)
}" CPU_SUPPORTS_3DNOW)
if(CPU_SUPPORTS_3DNOW)
set(HAVE_3DNOW TRUE)
list(APPEND EXTRA_CFLAGS "-m3dnow")
endif()
set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})