Skip to content

Commit 2c708bd

Browse files
authored
Fixing math example on Linux. (#174)
1 parent 6741c5a commit 2c708bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Examples/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
add_executable(math
22
math/main.swift)
33
target_link_libraries(math PRIVATE
4-
ArgumentParser)
4+
ArgumentParser
5+
$<$<STREQUAL:${CMAKE_SYSTEM_NAME},Linux>:m>)
56

67
add_executable(repeat
78
repeat/main.swift)

0 commit comments

Comments
 (0)