mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-22 20:45:11 +00:00
parent
b6448e8c0d
commit
2c99bc9593
1 changed files with 6 additions and 0 deletions
|
@ -284,6 +284,12 @@ if (USE_SDL2)
|
||||||
# This should probably go in a FAQ.
|
# This should probably go in a FAQ.
|
||||||
set(SDL_LIBC ON CACHE BOOL "Tell SDL that we want it to use our C runtime (required for proper static linking)" FORCE)
|
set(SDL_LIBC ON CACHE BOOL "Tell SDL that we want it to use our C runtime (required for proper static linking)" FORCE)
|
||||||
|
|
||||||
|
# https://github.com/tildearrow/furnace/issues/1237
|
||||||
|
# enabling this will result in SDL finding the Direct3D headers, forcing _WIN32_WINNT to an undesirable value (which makes the Wine headers define GetTickCount64)
|
||||||
|
if (SUPPORT_XP)
|
||||||
|
set(SDL_RENDER_D3D OFF CACHE BOOL "Enable the Direct3D render driver" FORCE)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(extern/SDL EXCLUDE_FROM_ALL)
|
add_subdirectory(extern/SDL EXCLUDE_FROM_ALL)
|
||||||
list(APPEND DEPENDENCIES_DEFINES HAVE_SDL2)
|
list(APPEND DEPENDENCIES_DEFINES HAVE_SDL2)
|
||||||
list(APPEND DEPENDENCIES_INCLUDE_DIRS extern/SDL/include)
|
list(APPEND DEPENDENCIES_INCLUDE_DIRS extern/SDL/include)
|
||||||
|
|
Loading…
Reference in a new issue