INCLUDE(FindPkgConfig)
PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2)
INCLUDE_DIRECTORIES(${SDL2_INCLUDE_DIRS})
-LINK_LIBRARIES(supertux2 ${SDL2_LIBRARIES})
+LINK_LIBRARIES(${SDL2_LIBRARIES})
PKG_SEARCH_MODULE(SDL2IMAGE REQUIRED SDL2_image>=2.0.0)
INCLUDE_DIRECTORIES(${SDL2IMAGE_INCLUDE_DIRS})
-LINK_LIBRARIES(supertux2 ${SDL2IMAGE_LIBRARIES})
+LINK_LIBRARIES(${SDL2IMAGE_LIBRARIES})
SET(HAVE_SDL TRUE)
#FIND_PACKAGE(SDL_image REQUIRED)