diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fa1ad6c..2c22493 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ set(PROJECT_VERSION ${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT_ # CMake ################################################################################ set(C_FLAGS_WARNING "-Wall -pedantic") -set(C_CXX_FLAGS_DEFAULT "${C_FLAGS_WARNING} -O2") +set(C_CXX_FLAGS_DEFAULT "${C_FLAGS_WARNING} -O2 -lm") set(CMAKE_C_FLAGS "${C_CXX_FLAGS_DEFAULT} ${CMAKE_C_FLAGS}") set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -O0 -g -DDEBUG=1") |