added -lm arg to CMakeLists

pull/1/head
Sara 2023-04-21 00:26:03 +02:00
parent 4c4851546f
commit 38e6908dc3
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/")
set(CMAKE_EXPORT_COMPILE_COMMANDS) set(CMAKE_EXPORT_COMPILE_COMMANDS)
set(CMAKE_C_FLAGS "-lm")
find_package(SDL2) find_package(SDL2)
find_package(SDL2_image) find_package(SDL2_image)
find_package(SDL2_ttf) find_package(SDL2_ttf)