diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c345530..523490e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -82,6 +82,7 @@ macro(add_sample name) set_target_properties(${name} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) # 链接动态库 target_link_libraries(${name} PUBLIC eemd) + target_link_libraries(${name} PUBLIC m) endmacro() macro(add_sample_cxx name)