diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 332c7c8..cbfefd1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -44,4 +44,6 @@ target_sources(acme PUBLIC typesystem.h version.h) -list(APPEND CMAKE_REQUIRED_LIBRARIES m) \ No newline at end of file +if (UNIX) + target_link_libraries(acme m) +endif() \ No newline at end of file