Archived
1
Fork 0

Add find_package for SDL2 on Linux (oops)

This commit is contained in:
redstrate 2021-05-09 20:11:12 -04:00
parent 100d0b1632
commit e9e505da61

View file

@ -13,6 +13,8 @@ include(FetchContent)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
message("Linux build detected!")
find_package(SDL2 REQUIRED)
set(ENABLE_VULKAN TRUE)
set(ENABLE_LINUX TRUE)
endif()