[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

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