summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <jb@kdenlive.org>2016-04-01 14:01:59 (GMT)
committer Jean-Baptiste Mardelle <jb@kdenlive.org>2016-04-01 14:01:59 (GMT)
commit92473fa04b17557fa75e0388de0a9ca20acd3fc2 (patch)
tree467abe8f66af7a5563bbe9cbe0d3281f99f9759b
parente2cb0116b400cca43c1bfc28de65438dca37e5d9 (diff)
Fix lib Math linking in CMake
-rw-r--r--src/filter/alpha0ps/CMakeLists.txt4
-rw-r--r--src/filter/blur/CMakeLists.txt1
-rw-r--r--src/filter/colgate/CMakeLists.txt1
-rw-r--r--src/filter/coloradj/CMakeLists.txt1
-rw-r--r--src/filter/defish0r/CMakeLists.txt1
-rw-r--r--src/filter/denoise/CMakeLists.txt1
-rw-r--r--src/filter/gamma/CMakeLists.txt1
-rw-r--r--src/filter/hueshift0r/CMakeLists.txt1
-rw-r--r--src/filter/rgbnoise/CMakeLists.txt1
-rw-r--r--src/generator/test_pat/CMakeLists.txt1
10 files changed, 13 insertions, 0 deletions
diff --git a/src/filter/alpha0ps/CMakeLists.txt b/src/filter/alpha0ps/CMakeLists.txt
index 48de1a9..d21422e 100644
--- a/src/filter/alpha0ps/CMakeLists.txt
+++ b/src/filter/alpha0ps/CMakeLists.txt
@@ -13,6 +13,10 @@ add_library (alpha0ps MODULE ${O_SOURCES})
add_library (alphagrad MODULE ${G_SOURCES})
add_library (alphaspot MODULE ${S_SOURCES})
+target_link_libraries(alpha0ps -lm)
+target_link_libraries(alphagrad -lm)
+target_link_libraries(alphaspot -lm)
+
set_target_properties (alpha0ps PROPERTIES PREFIX "")
set_target_properties (alphagrad PROPERTIES PREFIX "")
set_target_properties (alphaspot PROPERTIES PREFIX "")
diff --git a/src/filter/blur/CMakeLists.txt b/src/filter/blur/CMakeLists.txt
index 57d7b89..d1fd4b7 100644
--- a/src/filter/blur/CMakeLists.txt
+++ b/src/filter/blur/CMakeLists.txt
@@ -6,6 +6,7 @@ if (MSVC)
set (SOURCES ${SOURCES} ${FREI0R_DEF})
endif (MSVC)
+link_libraries(m)
add_library (${TARGET} MODULE ${SOURCES})
set_target_properties (${TARGET} PROPERTIES PREFIX "")
diff --git a/src/filter/colgate/CMakeLists.txt b/src/filter/colgate/CMakeLists.txt
index f7b0183..b2575dc 100644
--- a/src/filter/colgate/CMakeLists.txt
+++ b/src/filter/colgate/CMakeLists.txt
@@ -6,6 +6,7 @@ if (MSVC)
set (SOURCES ${SOURCES} ${FREI0R_DEF})
endif (MSVC)
+link_libraries(m)
add_library (${TARGET} MODULE ${SOURCES})
set_target_properties (${TARGET} PROPERTIES PREFIX "")
diff --git a/src/filter/coloradj/CMakeLists.txt b/src/filter/coloradj/CMakeLists.txt
index f2f2ef5..0a2398c 100644
--- a/src/filter/coloradj/CMakeLists.txt
+++ b/src/filter/coloradj/CMakeLists.txt
@@ -6,6 +6,7 @@ if (MSVC)
set (SOURCES ${SOURCES} ${FREI0R_DEF})
endif (MSVC)
+link_libraries(m)
add_library (${TARGET} MODULE ${SOURCES})
set_target_properties (${TARGET} PROPERTIES PREFIX "")
diff --git a/src/filter/defish0r/CMakeLists.txt b/src/filter/defish0r/CMakeLists.txt
index 5097ae4..6d426b9 100644
--- a/src/filter/defish0r/CMakeLists.txt
+++ b/src/filter/defish0r/CMakeLists.txt
@@ -6,6 +6,7 @@ if (MSVC)
set (SOURCES ${SOURCES} ${FREI0R_DEF})
endif (MSVC)
+link_libraries(m)
add_library (${TARGET} MODULE ${SOURCES})
set_target_properties (${TARGET} PROPERTIES PREFIX "")
diff --git a/src/filter/denoise/CMakeLists.txt b/src/filter/denoise/CMakeLists.txt
index dba6bbe..090dbab 100644
--- a/src/filter/denoise/CMakeLists.txt
+++ b/src/filter/denoise/CMakeLists.txt
@@ -6,6 +6,7 @@ if (MSVC)
set (SOURCES ${SOURCES} ${FREI0R_DEF})
endif (MSVC)
+link_libraries(m)
add_library (${TARGET} MODULE ${SOURCES})
set_target_properties (${TARGET} PROPERTIES PREFIX "")
diff --git a/src/filter/gamma/CMakeLists.txt b/src/filter/gamma/CMakeLists.txt
index 8912fe7..9844625 100644
--- a/src/filter/gamma/CMakeLists.txt
+++ b/src/filter/gamma/CMakeLists.txt
@@ -6,6 +6,7 @@ if (MSVC)
set (SOURCES ${SOURCES} ${FREI0R_DEF})
endif (MSVC)
+link_libraries(m)
add_library (${TARGET} MODULE ${SOURCES})
set_target_properties (${TARGET} PROPERTIES PREFIX "")
diff --git a/src/filter/hueshift0r/CMakeLists.txt b/src/filter/hueshift0r/CMakeLists.txt
index bf11ed7..593dcb8 100644
--- a/src/filter/hueshift0r/CMakeLists.txt
+++ b/src/filter/hueshift0r/CMakeLists.txt
@@ -6,6 +6,7 @@ if (MSVC)
set (SOURCES ${SOURCES} ${FREI0R_DEF})
endif (MSVC)
+link_libraries(m)
add_library (${TARGET} MODULE ${SOURCES})
set_target_properties (${TARGET} PROPERTIES PREFIX "")
diff --git a/src/filter/rgbnoise/CMakeLists.txt b/src/filter/rgbnoise/CMakeLists.txt
index 5cf5745..15eebd2 100644
--- a/src/filter/rgbnoise/CMakeLists.txt
+++ b/src/filter/rgbnoise/CMakeLists.txt
@@ -6,6 +6,7 @@ if (MSVC)
set (SOURCES ${SOURCES} ${FREI0R_DEF})
endif (MSVC)
+link_libraries(m)
add_library (${TARGET} MODULE ${SOURCES})
set_target_properties (${TARGET} PROPERTIES PREFIX "")
diff --git a/src/generator/test_pat/CMakeLists.txt b/src/generator/test_pat/CMakeLists.txt
index f0cf5e9..5a8c34f 100644
--- a/src/generator/test_pat/CMakeLists.txt
+++ b/src/generator/test_pat/CMakeLists.txt
@@ -15,6 +15,7 @@ if (MSVC)
set (R_SOURCES ${R_SOURCES} ${FREI0R_DEF})
endif (MSVC)
+link_libraries(m)
add_library (test_pat_B MODULE ${B_SOURCES})
add_library (test_pat_C MODULE ${C_SOURCES})
add_library (test_pat_G MODULE ${G_SOURCES})