Skip to content

Don't set *_OUTPUT_DIRECTORY target properties#4958

Open
Shadows-of-Fire wants to merge 1 commit into
google:mainfrom
Shadows-of-Fire:patch-1
Open

Don't set *_OUTPUT_DIRECTORY target properties#4958
Shadows-of-Fire wants to merge 1 commit into
google:mainfrom
Shadows-of-Fire:patch-1

Conversation

@Shadows-of-Fire
Copy link
Copy Markdown

This PR removes a hunk of code from cxx_library_with_type responsible for setting various *_OUTPUT_DIRECTORY properties, instead falling back to either (a) the defaults or (b) user-provided CMAKE_*_OUTPUT_DIRECTORY variables.

The defaults match what was being set previously, and if a user is providing CMAKE_*_OUTPUT_DIRECTORY they expect it to be adhered to.

Closes #4957

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.

[Bug]: CMake - GTest does not respect user CMAKE_<ARTIFACT>_OUTPUT_DIRECTORY

1 participant