Add the link of math.h lib in CMakeList.

pull/949/head
krahets 1 year ago
parent a999db21ee
commit 49745cf2d2

@ -2,3 +2,4 @@ add_executable(coin_change_greedy coin_change_greedy.c)
add_executable(fractional_knapsack fractional_knapsack.c) add_executable(fractional_knapsack fractional_knapsack.c)
add_executable(max_capacity max_capacity.c) add_executable(max_capacity max_capacity.c)
add_executable(max_product_cutting max_product_cutting.c) add_executable(max_product_cutting max_product_cutting.c)
target_link_libraries(max_product_cutting m)

Loading…
Cancel
Save