Skip to content

build: Add IGNORE_HOMEBREWED_DEPS option - #2173

Open
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-homebrew
Open

lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-homebrew

Conversation

@lgritz

@lgritz lgritz commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

Port the IGNORE_HOMEBREWED_DEPS option block from OpenImageIO cmake scripts (AcademySoftwareFoundation/OpenImageIO#5361). When turned on (default OFF), the Homebrew prefixes are removed from the cmake search paths and added to CMAKE_IGNORE_PATH and CMAKE_IGNORE_PREFIX_PATH. dependency_utils passes the latter on to dependency child builds, so they can't quietly pick up a Homebrew package that we are ignoring.

Assisted-by: Claude Code / Claude Opus 5.5

Port the IGNORE_HOMEBREWED_DEPS option block from OpenImageIO's
CMakeLists.txt, including the AcademySoftwareFoundation/OpenEXR#5361
addition. When turned on (default OFF), the Homebrew prefixes are
removed from the cmake search paths and added to CMAKE_IGNORE_PATH and
CMAKE_IGNORE_PREFIX_PATH.  dependency_utils passes the latter on to
dependency child builds, so they can't quietly pick up a Homebrew
package that we are ignoring.

Assisted-by: Claude Code / Claude Opus 5.5

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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.

1 participant