mirror of https://github.com/libsdl-org/SDL.git
cmake: don't cache HAVE_3DNOW value
This commit is contained in:
parent
82360b3175
commit
46d85fd5a4
|
|
@ -783,8 +783,9 @@ if(SDL_ASSEMBLY)
|
||||||
void *p = 0;
|
void *p = 0;
|
||||||
_m_prefetch(p);
|
_m_prefetch(p);
|
||||||
return 0;
|
return 0;
|
||||||
}" HAVE_3DNOW)
|
}" CPU_SUPPORTS_3DNOW)
|
||||||
if(HAVE_3DNOW)
|
if(CPU_SUPPORTS_3DNOW)
|
||||||
|
set(HAVE_3DNOW TRUE)
|
||||||
list(APPEND EXTRA_CFLAGS "-m3dnow")
|
list(APPEND EXTRA_CFLAGS "-m3dnow")
|
||||||
endif()
|
endif()
|
||||||
set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})
|
set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue