STYLE: Add a lot of comments for the CMake build system

This commit is contained in:
Mathieu Malaterre
2006-01-25 16:32:48 +00:00
parent 5ff45287ea
commit 61e353d652
5 changed files with 27 additions and 1 deletions

View File

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