[trunk] Fix missing -lm to openjpwl
This commit is contained in:
parent
a40fc41988
commit
2ad90b7c41
@ -47,6 +47,9 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
add_library(openjpwl ${JPWL_SRCS} ${OPENJPEG_SRCS})
|
add_library(openjpwl ${JPWL_SRCS} ${OPENJPEG_SRCS})
|
||||||
|
if(UNIX)
|
||||||
|
target_link_libraries(openjpwl m)
|
||||||
|
endif()
|
||||||
set_target_properties(openjpwl
|
set_target_properties(openjpwl
|
||||||
PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
|
PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user