blob: e16d65e9afa869b2d1fabc79a314f3320aa359b2 (
plain)
1
2
3
4
5
6
7
|
file(GLOB SOURCES "src/*.h" "src/*.cpp" "src/FreeImage/*.cpp" "src/FreeImageToolkit/*.cpp" "src/Metadata/*.cpp" "src/LibJPEG/*.c" "src/LibPNG/*.c")
set(TARGET FreeImage)
include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake)
set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "FREEIMAGE_EXPORTS")
target_include_directories(${TARGET} PRIVATE src ${CMAKE_SOURCE_DIR}/libs/zlib/src)
target_link_libraries(${TARGET} Zlib)
|