removing SDL2 find_package until I figure out how to set it up universally

This commit is contained in:
Noel Berry 2021-01-02 20:46:06 -08:00
parent 813816eb8e
commit 7ce2d07153

View File

@ -90,7 +90,6 @@ endif()
# Link and create SDL2 Definition if we're using SDL2 # Link and create SDL2 Definition if we're using SDL2
if (SDL2_ENABLED) if (SDL2_ENABLED)
find_package(SDL2 REQUIRED)
add_compile_definitions(BLAH_USE_SDL2) add_compile_definitions(BLAH_USE_SDL2)
target_include_directories(blah PUBLIC "$<BUILD_INTERFACE:${SDL2_INCLUDE_DIRS}>") target_include_directories(blah PUBLIC "$<BUILD_INTERFACE:${SDL2_INCLUDE_DIRS}>")
set(LIBS ${LIBS} ${SDL2_LIBRARIES}) set(LIBS ${LIBS} ${SDL2_LIBRARIES})