diff --git a/CMakeLists.txt b/CMakeLists.txt index 6610d7d..d5cd436 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/") set(CMAKE_EXPORT_COMPILE_COMMANDS) +set(CMAKE_C_FLAGS "-lm") + find_package(SDL2) find_package(SDL2_image) find_package(SDL2_ttf)