summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <jb@kdenlive.org>2016-09-11 11:33:29 (GMT)
committer Jean-Baptiste Mardelle <jb@kdenlive.org>2016-09-11 11:33:29 (GMT)
commit80fb75ac46dbbfe7a8902792fab6e7e0d5bfda0f (patch)
tree895cb4cdcb903b00bd6e3cb4c54ff99096e11f8d
parent5c4300b4bd58e83214b87a0f89449e82de5bffe7 (diff)
Add --as-needed linker flag
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index dc8d3d9..39b1171 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,3 +1,4 @@
+set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
link_libraries(m)
add_subdirectory (filter)
add_subdirectory (generator)