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 error: string sub-command STRIP requires two arguments. #411

Open
yurivict opened this issue Jul 30, 2022 · 2 comments
Open

cmake error: string sub-command STRIP requires two arguments. #411

yurivict opened this issue Jul 30, 2022 · 2 comments

Comments

@yurivict
Copy link

SymEngine_DIR : /usr/local/lib/cmake/symengine
SymEngine Version : 0.9.0
CMake Error at cmake/FindPython.cmake:7 (string):
  string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
  CMakeLists.txt:16 (find_package)
@yurivict
Copy link
Author

FYI: cmake finds Python fine with find_package now. There is no need to write Python discovery code.

@yurivict
Copy link
Author

The reason is that the 'python' command fails and you didn't handle the failure case and kept going.

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

No branches or pull requests

1 participant