mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-13 16:37:58 +08:00
15 lines
497 B
Diff
15 lines
497 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 5cfa601..f79807c 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -475,7 +475,8 @@ endif()
|
||
|
if(OCIO_BUILD_APPS AND (OCIO_BUILD_STATIC OR OCIO_BUILD_SHARED) )
|
||
|
|
||
|
# Try to find OpenImageIO (OIIO) and OpenGL stuff
|
||
|
- OCIOFindOpenImageIO()
|
||
|
+ find_package(OpenImageIO CONFIG REQUIRED)
|
||
|
+ set(OIIO_LIBRARIES OpenImageIO::OpenImageIO OpenImageIO::OpenImageIO_Util)
|
||
|
|
||
|
if(OIIO_FOUND)
|
||
|
add_subdirectory(src/apps/ocioconvert)
|