summarylogtreecommitdiffstats
path: root/holyc-lang_fix_math_linking.patch
blob: 72f163c57aefa40c3bb57455d3c40ecf6fd8b80e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -67,6 +67,8 @@
 
 add_executable(hcc ${SOURCES} ${HEADERS})
 
+target_link_libraries(hcc m)
+
 # Command for unit tests
 add_custom_target(unit-test
     COMMAND ${CMAKE_COMMAND} -E echo "Running unit tests..."