Fix CMake build

This commit is contained in:
Connor McLaughlin
2019-10-15 18:02:48 +10:00
parent aa792da823
commit e68cddf017
7 changed files with 65 additions and 10 deletions

View File

@ -19,6 +19,7 @@ if(WIN32)
set(SDL2_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/dep/msvc/include/SDL")
set(SDL2_LIBRARIES "SDL2")
set(SDL2_FOUND TRUE)
else()
find_package(SDL2 REQUIRED)
endif()