2008-07-31 20:47:41 +02:00
|
|
|
# Import library
|
|
|
|
#________________
|
|
|
|
|
|
|
|
# MESSAGE(STATUS "IMPORT : FreeImagelibrary")
|
|
|
|
|
|
|
|
# Include directories
|
|
|
|
INCLUDE_DIRECTORIES(${OPENJPEG_SOURCE_DIR}/libs/FreeImage)
|
|
|
|
|
|
|
|
# Link libraries
|
|
|
|
|
2008-08-02 18:40:10 +02:00
|
|
|
IF(WIN32)
|
|
|
|
LINK_DIRECTORIES(${OPENJPEG_SOURCE_DIR}/libs/FreeImage)
|
2008-07-31 20:47:41 +02:00
|
|
|
LINK_LIBRARIES(freeimage.s)
|
2008-08-02 18:40:10 +02:00
|
|
|
ELSE(WIN32)
|
|
|
|
LINK_LIBRARIES(freeimage)
|
|
|
|
ENDIF(WIN32)
|
2008-07-31 20:47:41 +02:00
|
|
|
|
2008-08-02 18:40:10 +02:00
|
|
|
ADD_DEFINITIONS ( -DFREEIMAGE_LIB )
|