From 097e645f06701226fda4980c35c86868f345656c Mon Sep 17 00:00:00 2001 From: kaarrot <8253037+kaarrot@users.noreply.github.com> Date: Sat, 22 Jun 2024 13:29:11 -0700 Subject: [PATCH] build: Add missing includes to libutil CMake target. (#4306) This is the continuation of [4305 ](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4305)(Add extra step to Makefile config target to force CMake to rescan). The error occurs when configuring with `make OpenImageIO_BUILD_MISSING_DEPS=all` option which fails the build as `libuitil` does not have `./dep/dist/include` on the path. The original solution was to rerun cmake and let it rescan paths. This step was only required to run once - after the initial CMake configuration step. This kind off worked but I'm still unsure why. So instead of that we can just add the missing location to CMakeLists. Signed-off-by: kuba --- src/libutil/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libutil/CMakeLists.txt b/src/libutil/CMakeLists.txt index 1d89395ff7..941c1bbc9b 100644 --- a/src/libutil/CMakeLists.txt +++ b/src/libutil/CMakeLists.txt @@ -47,6 +47,7 @@ function (setup_oiio_util_library targetname) target_include_directories (${targetname} PUBLIC + $ $ PRIVATE ${ROBINMAP_INCLUDES}