banan-os/userspace/libraries/LibImage/CMakeLists.txt

16 lines
315 B
CMake
Raw Normal View History

set(LIBIMAGE_SOURCES
Image.cpp
Netbpm.cpp
PNG.cpp
)
add_library(libimage ${LIBIMAGE_SOURCES})
target_compile_options(libimage PRIVATE -O3)
banan_link_library(libimage libc)
banan_link_library(libimage ban)
banan_install_headers(libimage)
install(TARGETS libimage OPTIONAL)
set(CMAKE_STATIC_LIBRARY_PREFIX "")