Add the link of math.h lib in CMakeList.

This commit is contained in:
krahets 2023-11-16 21:14:20 +08:00
parent a999db21ee
commit 49745cf2d2

View file

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