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

PROTON-2774: replace CMAKE_SOURCE_DIR variable with PROJECT_SOURCE_DIR #410

Merged

Conversation

jiridanek
Copy link
Contributor

This change allows the CMake build file work as an embedded subproject in an composite CMake build.

@jiridanek jiridanek added this to the v0.40.0 milestone Oct 14, 2023
@jiridanek jiridanek self-assigned this Oct 14, 2023
@astitcher
Copy link
Member

I always wondered why you'd use PROJECT_SOURCE_DIR, now I know! Makes it seem like CMAKE_SOURCE_DIR is usually the wrong thing to use!

Copy link
Member

@astitcher astitcher left a comment

Choose a reason for hiding this comment

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

Assuming this builds and tests ok. lgtm.

…_DIR`

This change allows the CMake build file work as an embedded subproject in an composite CMake build
@jiridanek jiridanek force-pushed the jd_2023_10_14_cmake_subproject_vars branch from caa2db6 to 34c95e2 Compare October 20, 2023 13:34
@jiridanek
Copy link
Contributor Author

Even Appveyor passed, it had some infra problems last week and was constantly red then. Merging!

@jiridanek jiridanek merged commit b3d929c into apache:main Oct 21, 2023
4 checks passed
@jiridanek jiridanek deleted the jd_2023_10_14_cmake_subproject_vars branch October 21, 2023 11:51
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