Skip to content

Commit

Permalink
Fixed linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
visrealm committed Sep 4, 2023
1 parent 394c243 commit e056b7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ target_sources(acme PUBLIC
typesystem.h
version.h)

list(APPEND CMAKE_REQUIRED_LIBRARIES m)
if (UNIX)
target_link_libraries(acme m)
endif()

0 comments on commit e056b7a

Please sign in to comment.