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

修复此项目作为子其他cmake项目的子项目时,导致install失败的问题 #723

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

dnasdw
Copy link
Contributor

@dnasdw dnasdw commented Oct 12, 2022

cmake的官方文档:
https://cmake.org/cmake/help/latest/variable/CMAKE_BINARY_DIR.html
https://cmake.org/cmake/help/latest/variable/CMAKE_CURRENT_BINARY_DIR.html

这两个变量在顶级项目中是相同的,在子项目中应该用CMAKE_CURRENT_BINARY_DIR。

@ayaka14732 ayaka14732 merged commit 10a5feb into BYVoid:master Dec 8, 2022
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.

None yet

2 participants