Add find_package for SDL2 on Linux (oops)
This commit is contained in:
parent
100d0b1632
commit
e9e505da61
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ include(FetchContent)
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||||
message("Linux build detected!")
|
message("Linux build detected!")
|
||||||
|
|
||||||
|
find_package(SDL2 REQUIRED)
|
||||||
|
|
||||||
set(ENABLE_VULKAN TRUE)
|
set(ENABLE_VULKAN TRUE)
|
||||||
set(ENABLE_LINUX TRUE)
|
set(ENABLE_LINUX TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
Reference in a new issue