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

build: Don't change CMAKE_XXX_OUTPUT_DIRECTORY when built as subdir #4417

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 11, 2024

  1. build: Don't change CMAKE_XXX_OUTPUT_DIRECTORY when built as subdir

    When building OIIO as a subdirectory of a super-project (with
    `add_subdirectory`), it is better to honor the output directories
    specified by the parent project.
    
    In our project, it was causing issues because OIIO libs were ending in
    a different folder from USD plugins, which thereby failed to load
    correctly in the build tree.
    
    Signed-off-by: Luc Touraille <[email protected]>
    touraill-adobe committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    ec68dac View commit details
    Browse the repository at this point in the history