From e9e505da61dc6868f7b9b9ee301ffd4582285087 Mon Sep 17 00:00:00 2001 From: redstrate <54911369+redstrate@users.noreply.github.com> Date: Sun, 9 May 2021 20:11:12 -0400 Subject: [PATCH] Add find_package for SDL2 on Linux (oops) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c8fe852..480f011 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()