missing math libary added

This commit is contained in:
Johannes Theiner 2018-08-19 18:58:19 +02:00
parent 0ece8ea785
commit 8177214669
1 changed files with 2 additions and 0 deletions

View File

@ -4,8 +4,10 @@ project(C/C++)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") 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) 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(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_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_1 02_MENT/Testat/main_02_MENT.cpp)
add_executable(02_MENT_Testat_2 02_MENT/Testat2/main_02_MENT.cpp) add_executable(02_MENT_Testat_2 02_MENT/Testat2/main_02_MENT.cpp)