file(GLOB_RECURSE src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "./*.cpp")

include_directories("./include")

add_library(util STATIC ${src})
target_link_libraries(util "/usr/lib/libSDL2.so")

file(GLOB_RECURSE src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "./*.cpp")

include_directories("./include")

add_library(util STATIC ${src})
target_link_libraries(util ${SDL2_LIBRARIES})

Replace missing libsdl2.so hardcoded reference
Replace missing libsdl2.so hardcoded reference
