summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-15 08:38:48 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-15 08:38:48 +0000
commit2ad90b7c418544b1605e5b943b3fb2005c3beb65 (patch)
tree26459e7c262897e47d2482f17711c0868374d4d1 /src
parenta40fc419887266a1107be85efc3e9484fa18ea8d (diff)
[trunk] Fix missing -lm to openjpwl
Diffstat (limited to 'src')
-rw-r--r--src/lib/openjpwl/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/openjpwl/CMakeLists.txt b/src/lib/openjpwl/CMakeLists.txt
index 86b31d12..3b809989 100644
--- a/src/lib/openjpwl/CMakeLists.txt
+++ b/src/lib/openjpwl/CMakeLists.txt
@@ -47,6 +47,9 @@ if(WIN32)
endif()
endif()
add_library(openjpwl ${JPWL_SRCS} ${OPENJPEG_SRCS})
+if(UNIX)
+ target_link_libraries(openjpwl m)
+endif()
set_target_properties(openjpwl
PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})