Skip to content

Commit

Permalink
gdal, oiio, aff update
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWillard committed Oct 9, 2021
1 parent ffa75fb commit daf8602
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ if (NOT TARGET Libsquish::Libsquish)
endif ()

find_package(OpenEXR CONFIG)
find_package(PNG MODULE)
find_package(OpenImageIO CONFIG REQUIRED)

# GADL
Expand Down Expand Up @@ -108,7 +109,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_library(${INTERCEPT_PLUGIN_NAME} SHARED ${INTERCEPT_PLUGIN_SOURCES} ${INTERCEPT_HOST_SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/version.cpp)

target_include_directories(${INTERCEPT_PLUGIN_NAME} PUBLIC ${OPENIMAGEIO_INCLUDE_DIR})
target_link_libraries(${INTERCEPT_PLUGIN_NAME} GDAL::GDAL)
target_link_libraries(${INTERCEPT_PLUGIN_NAME} ${GDAL_LIBRARIES})
target_link_libraries(${INTERCEPT_PLUGIN_NAME} OpenImageIO::OpenImageIO OpenImageIO::OpenImageIO_Util)
target_link_libraries(${INTERCEPT_PLUGIN_NAME} ${Boost_LIBRARIES})
target_link_libraries(${INTERCEPT_PLUGIN_NAME} nlohmann_json nlohmann_json::nlohmann_json)
Expand Down
2 changes: 1 addition & 1 deletion src/satimages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <OpenImageIO/imagebuf.h>
#include <OpenImageIO/imagebufalgo.h>

using namespace OpenImageIO_v2_1;
using namespace OpenImageIO_v2_3;

// Range TODO: replace with C++20 Range
#include <boost/range/counting_range.hpp>
Expand Down

0 comments on commit daf8602

Please sign in to comment.