Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing includes to libutil CMake target. #4306

Conversation

kaarrot
Copy link
Contributor

@kaarrot kaarrot commented Jun 22, 2024

This is the continuation of 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.

src/libutil/CMakeLists.txt Outdated Show resolved Hide resolved
…OpenImageIO_BUILD_MISSING_DEPS=all

Signed-off-by: kuba <kuba456@gmail.com>
@kaarrot kaarrot force-pushed the libuitil_missing_local_includes branch from bce8b8b to 9d5c03a Compare June 22, 2024 18:38
Copy link
Collaborator

@lgritz lgritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I'm glad the mystery was resolved. This is a better solution than double-running from the Makefile (because not everybody uses the Makefile wrapper).

@lgritz lgritz merged commit 097e645 into AcademySoftwareFoundation:master Jun 22, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants