summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorD.J.R <jaromil@dyne.org>2016-09-11 12:32:34 (GMT)
committer GitHub <noreply@github.com>2016-09-11 12:32:34 (GMT)
commita244f0c8a0655f6435a13a8e4e2f6ad9b6a1eaa9 (patch)
tree895cb4cdcb903b00bd6e3cb4c54ff99096e11f8d
parent073422c90a05fd1e1b6f5681b513ec7d80319382 (diff)
parent80fb75ac46dbbfe7a8902792fab6e7e0d5bfda0f (diff)
Merge pull request #3 from j-b-m/master
Fix libmath linking crashes
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bb143d6..39b1171 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,3 +1,5 @@
+set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
+link_libraries(m)
add_subdirectory (filter)
add_subdirectory (generator)
add_subdirectory (mixer2)