COMP: PNG_LIBRARIES were missing for the TARGET_LINK_LIBRARIES command
of the executable targets.
This commit is contained in:
parent
8dbd92f6c2
commit
1a79adb3a9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue