From 788ff7af020bd6eb10221fb5d0c7692d7a7702af Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sat, 2 May 2020 17:13:06 +0200 Subject: [PATCH] Add libm to CMakeLists --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0747b26..29c1a1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,6 @@ aux_source_directory(./src SRC_LIST) add_executable(${PROJECT_NAME} ${SRC_LIST} "${HEADERS}") -target_link_libraries(${PROJECT_NAME} ${SOUP_LIBRARIES} ${JSON_LIBRARIES}) +target_link_libraries(${PROJECT_NAME} ${SOUP_LIBRARIES} ${JSON_LIBRARIES} m) install (TARGETS ${PROJECT_NAME} DESTINATION bin)