Files
pixelarium/lib/imaging/CMakeLists.txt
T
m-aXimilian a8489292b6 Resources (#1)
* start some resource fiddling

* start some resource fiddling

* initiate a real resource manager

* fix color flicker in rendering

* delete unintended constructors

and add a convenience function to reset the render-image (from the
original image, aka. clone again)

* [OpenGL deprecation warning]

The compiler said that these functions are "deprecated". They seem to
be useless anyway...

* various improvements

* add resource enumerator and documentation

* fix constness stuff

* use existing iterator for insertion

* init unit tests

* rm bogus file

---------

Co-authored-by: m-aXimilian <keuffnermax@gmail.com>
2025-06-13 22:23:20 +00:00

24 lines
529 B
CMake

include(${CMAKE_SOURCE_DIR}/cmake/libCZI.cmake)
find_package(OpenCV REQUIRED)
message(STATUS "Found opencv: " ${OpenCV_INCLUDE_DIRS})
message(STATUS "OpenCV_LIBs from: " ${OpenCV_LIBS})
set(IMAGELIBSRC
PixelariumImage.cpp)
set(IMAGELIBLIBNAME pixelariumimagelib)
add_library(${IMAGELIBLIBNAME}
STATIC ${IMAGELIBSRC})
target_link_libraries(${IMAGELIBLIBNAME}
PUBLIC ${OpenCV_LIBS}
PRIVATE libCZIStatic)
target_include_directories(${IMAGELIBLIBNAME}
PUBLIC ${OpenCV_INCLUDE_DIRS}
PRIVATE ${LIBCZI_INCLUDE_DIR})