Add missing CONFIG keyword to SDL2 find_package.
@@ -25,7 +25,7 @@ if(CONAN_FILE)
target_link_libraries(TCOD PRIVATE CONAN_PKG::zlib)
else()
message(STATUS "Fetching dependencies from Vcpkg or other sources.")
- find_package(SDL2 REQUIRED)
+ find_package(SDL2 CONFIG REQUIRED)
find_package(ZLIB REQUIRED)
target_link_libraries(TCOD PUBLIC SDL2::SDL2)
target_link_libraries(TCOD PRIVATE ZLIB::ZLIB)
