-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Provide WORKING_DIRECTORY when use execute_process in CMake #6544
Comments
it would be great to have this, since we include open62541 into our cmake-based project using
and right now, this automatically works in a locally checked out project (since we have a fyi: "offending" code is at https://github.com/open62541/open62541/blob/master/CMakeLists.txt#L367 btw- |
Release v1.4.1 has following code in CMake:
It is better to provide WORKING_DIRECTORY for execute_process(). Otherwise it leads to error like this if you use FetchContent_Declare:
The text was updated successfully, but these errors were encountered: