COMP: PNG_LIBRARIES were missing for the TARGET_LINK_LIBRARIES command

of the executable targets.
This commit is contained in:
Luis Ibanez 2010-09-05 20:54:55 +00:00
parent 8dbd92f6c2
commit 1a79adb3a9
1 changed files with 22 additions and 22 deletions

View File

@ -54,7 +54,7 @@ ADD_EXECUTABLE(JPWL_j2k_to_image
../codec/index.c
../codec/j2k_to_image.c
)
TARGET_LINK_LIBRARIES(JPWL_j2k_to_image ${OPJ_PREFIX}openjpeg_JPWL ${TIFF_LIBRARIES})
TARGET_LINK_LIBRARIES(JPWL_j2k_to_image ${OPJ_PREFIX}openjpeg_JPWL ${TIFF_LIBRARIES} ${PNG_LIBRARIES})
IF(UNIX)
TARGET_LINK_LIBRARIES(JPWL_j2k_to_image m)
ENDIF(UNIX)
@ -64,7 +64,7 @@ ADD_EXECUTABLE(JPWL_image_to_j2k
../codec/index.c
../codec/image_to_j2k.c
)
TARGET_LINK_LIBRARIES(JPWL_image_to_j2k ${OPJ_PREFIX}openjpeg_JPWL ${TIFF_LIBRARIES})
TARGET_LINK_LIBRARIES(JPWL_image_to_j2k ${OPJ_PREFIX}openjpeg_JPWL ${TIFF_LIBRARIES} ${PNG_LIBRARIES})
IF(UNIX)
TARGET_LINK_LIBRARIES(JPWL_image_to_j2k m)
ENDIF(UNIX)