From 81772146698aebf74f6b267dd9a7d86b2d7ff22f Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Sun, 19 Aug 2018 18:58:19 +0200 Subject: [PATCH] missing math libary added --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 729cdbf..79ee9a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,8 +4,10 @@ project(C/C++) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") add_executable(01_ENV_MP 01_ENV/MP/main.c 01_ENV/MP/func1.c) +target_link_libraries(01_ENV_MP m) add_executable(01_ENV_Testat 01_ENV/Testat/main.c 01_ENV/Testat/func1.c) + add_executable(02_MENT_MP 02_MENT/MP/main_02_MENT.cpp) add_executable(02_MENT_Testat_1 02_MENT/Testat/main_02_MENT.cpp) add_executable(02_MENT_Testat_2 02_MENT/Testat2/main_02_MENT.cpp)