[trunk] Fix missing -lm to openjpwl

This commit is contained in:
Mathieu Malaterre 2012-10-15 08:38:48 +00:00
parent a40fc41988
commit 2ad90b7c41
1 changed files with 3 additions and 0 deletions

View File

@ -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})