generated from cpp-best-practices/cmake_conan_boilerplate_template
-
-
Notifications
You must be signed in to change notification settings - Fork 5
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 variables are not translated to parent scope with add_subdirectory #1
Comments
These are local variables. They are not exported. |
but they are use at |
IMHO some of the |
aminya
changed the title
The cmake configuration is not correct or obscure?
Cmake variables are not translated to parent scope with add_subdirectory
May 5, 2022
I was wrong about add_subdirectory. The variables are not passed to the parent scope. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some of the used
CMake
variable are not exported to parent scope.It is not clear to me how this works, if it works right?
The exported packages are not checked so the result is undefined!
see https://github.com/ClausKlein/cpp_cmake_project/runs/6308595865?check_suite_focus=true#step:6:81
and ClausKlein/cpp_cmake_project@5085bd4
The text was updated successfully, but these errors were encountered: