clion无法使用math库函数

在CMakeLists中添加

target_link_libraries(PORJECTNAME  m)就可以了.

原文地址:https://www.cnblogs.com/zjhangia/p/10230463.html