mirror of
https://github.com/rt64/rt64.git
synced 2024-12-26 03:15:44 +00:00
Exclude SDL Window macro from being defined outside of Linux.
This commit is contained in:
parent
ffa69ad27c
commit
16f1708da2
@ -237,7 +237,7 @@ add_compile_definitions(
|
|||||||
IMGUI_IMPL_VULKAN_NO_PROTOTYPES
|
IMGUI_IMPL_VULKAN_NO_PROTOTYPES
|
||||||
)
|
)
|
||||||
|
|
||||||
if (RT64_SDL_WINDOW_VULKAN)
|
if (CMAKE_SYSTEM_NAME MATCHES "Linux" AND RT64_SDL_WINDOW_VULKAN)
|
||||||
add_compile_definitions("RT64_SDL_WINDOW_VULKAN")
|
add_compile_definitions("RT64_SDL_WINDOW_VULKAN")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user