diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project | |
Diffstat (limited to 'vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project')
| -rw-r--r-- | vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project/main.cpp | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project/CMakeLists.txt b/vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project/CMakeLists.txt new file mode 100644 index 0000000..09db055 --- /dev/null +++ b/vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project/CMakeLists.txt @@ -0,0 +1,7 @@ +cmake_minimum_required(VERSION 3.7) +project(vcpkg-ci-openimageio CXX) + +add_executable(main main.cpp) + +find_package(OpenImageIO CONFIG REQUIRED) +target_link_libraries(main PRIVATE OpenImageIO::OpenImageIO) diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project/main.cpp b/vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project/main.cpp new file mode 100644 index 0000000..c0f900e --- /dev/null +++ b/vcpkg/scripts/test_ports/vcpkg-ci-openimageio/project/main.cpp @@ -0,0 +1,7 @@ +#include <OpenImageIO/imageio.h> + +int main(int, char**) +{ + auto inp = OIIO::ImageInput::open("none"); + return inp ? 0 : 1; +} |