diff options
Diffstat (limited to 'libs/freeimage')
-rw-r--r-- | libs/freeimage/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/freeimage/CMakeLists.txt b/libs/freeimage/CMakeLists.txt new file mode 100644 index 0000000000..e16d65e9af --- /dev/null +++ b/libs/freeimage/CMakeLists.txt @@ -0,0 +1,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)
\ No newline at end of file |