From ca3b2af7039cdcd20a9f4e703aa40dea7b9efd39 Mon Sep 17 00:00:00 2001 From: Sara Date: Tue, 27 Jun 2023 09:30:00 +0200 Subject: [PATCH] added math library to CMakeLists --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d9b887..047bd48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,6 @@ add_executable( ${SOURCE_C} ${SOURCE_CPP}) -target_link_libraries(${PROJECT} SDL2 SDL2_image SDL2_ttf) +target_link_libraries(${PROJECT} SDL2 SDL2_image SDL2_ttf m) target_include_directories(${PROJECT} PRIVATE "${CMAKE_SOURCE_DIR}/include/" "${CMAKE_SOURCE_DIR}/src/corelib" "${CMAKE_SOURCE_DIR}/src/ui")