We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For each external dependency please add a tri-state variable USE_{depencency-name}={ON/OFF/AUTO}.
In the context of the package build it should be possible to require a dependency to be present or not to be used, for example:
USE_CMINPACK=ON
cminpack
USE_CMINPACK=OFF
USE_CMINPACK=AUTO
Please see an example here: https://cmake.org/pipermail/cmake/2016-October/064342.html
The text was updated successfully, but these errors were encountered:
you can use CMAKE_REQUIRE_FIND_PACKAGE_CMinpack=ON if you want it to fail when not present (and USE_CMINPACK=ON/OFF for the other two cases)
CMAKE_REQUIRE_FIND_PACKAGE_CMinpack=ON
Sorry, something went wrong.
No branches or pull requests
For each external dependency please add a tri-state variable USE_{depencency-name}={ON/OFF/AUTO}.
In the context of the package build it should be possible to require a dependency to be present or not to be used, for example:
USE_CMINPACK=ONwould requirecminpackand would fail if it isn't presentUSE_CMINPACK=OFFwould ignorecminpackeven if it is presentUSE_CMINPACK=AUTOwould usecminpackwhen it is present (current behavior)Please see an example here: https://cmake.org/pipermail/cmake/2016-October/064342.html
The text was updated successfully, but these errors were encountered: