summaryrefslogtreecommitdiff
path: root/codec
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2006-01-25 16:32:48 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2006-01-25 16:32:48 +0000
commit61e353d652275d94e896e70cf5e6d2d193688d9f (patch)
tree1ed6b13c294902c3215e8cbe3c9d21ffaf9ac86f /codec
parent5ff45287ea6c5821f0e7e1b714c914b642737efc (diff)
STYLE: Add a lot of comments for the CMake build system
Diffstat (limited to 'codec')
-rw-r--r--codec/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt
index ee496e33..3ed8bedd 100644
--- a/codec/CMakeLists.txt
+++ b/codec/CMakeLists.txt
@@ -34,6 +34,7 @@ INCLUDE_DIRECTORIES(
FOREACH(exe j2k_to_image image_to_j2k)
ADD_EXECUTABLE(${exe} ${exe}.c ${common_SRCS})
TARGET_LINK_LIBRARIES(${exe} ${OPJ_PREFIX}openjpeg)
+ # On unix you need to link to the math library:
IF(UNIX)
TARGET_LINK_LIBRARIES(${exe} -lm)
ENDIF(UNIX)