summaryrefslogtreecommitdiff
path: root/codec
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2007-09-06 10:23:40 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2007-09-06 10:23:40 +0000
commit976ca18103803150f6a9ca85b06c016826e83bf9 (patch)
tree7a1e4ac48d88320e5c6e7f5f5b26a279fd288b47 /codec
parent7e874368f7e620dc7934417776d3124932a8c417 (diff)
ENH: Add jpwl. Also remove old deprecated way of linking lib math on unix
Diffstat (limited to 'codec')
-rw-r--r--codec/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt
index 24058463..7cb80904 100644
--- a/codec/CMakeLists.txt
+++ b/codec/CMakeLists.txt
@@ -44,7 +44,7 @@ FOREACH(exe j2k_to_image image_to_j2k)
TARGET_LINK_LIBRARIES(${exe} ${OPJ_PREFIX}openjpeg ${TIFF_LIBRARIES})
# On unix you need to link to the math library:
IF(UNIX)
- TARGET_LINK_LIBRARIES(${exe} -lm)
+ TARGET_LINK_LIBRARIES(${exe} m)
ENDIF(UNIX)
# Install exe
INSTALL_TARGETS(/bin/ ${exe})