mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-21 02:38:14 +00:00
cmake: gate all preseeding behind SDL_PRESEED option
This commit is contained in:

committed by
Anonymous Maarten

parent
546cd3ac83
commit
2aad26abb0
@@ -1,7 +1,4 @@
|
||||
cmake_dependent_option(SDL_MSVC_PRESEED "Preseed CMake cache for MSVC to speed up configuration" ON "MSVC;NOT WINDOWS_STORE" OFF)
|
||||
|
||||
if(SDL_MSVC_PRESEED)
|
||||
set(SDL_PRESEED_FUNCTION_DEFINED TRUE)
|
||||
if(MSVC)
|
||||
function(SDL_Preseed_CMakeCache)
|
||||
set(COMPILER_SUPPORTS_FDIAGNOSTICS_COLOR_ALWAYS "" CACHE INTERNAL "Test COMPILER_SUPPORTS_FDIAGNOSTICS_COLOR_ALWAYS")
|
||||
set(HAVE_ALLOCA_H "" CACHE INTERNAL "Have include alloca.h")
|
||||
|
Reference in New Issue
Block a user