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
Either EXCLUDE_FROM_ALL has no effect, or I'm using it wrong.
EXCLUDE_FROM_ALL
include(cmake/CPM.cmake) CPMAddPackage( NAME googletest GITHUB_REPOSITORY google/googletest GIT_TAG v1.13.0 VERSION 1.13.0 OPTIONS "INSTALL_GTEST OFF" "BUILD_GMOCK OFF" "gtest_disable_pthreads ON" EXCLUDE_FROM_ALL=YES)
Yet, google test still gets built when I run make.
make
The text was updated successfully, but these errors were encountered:
DOWNLOAD_ONLY is also ignored.
DOWNLOAD_ONLY
Sorry, something went wrong.
IMHO the OPTIONS should be always the last argument.
OPTIONS
Please try EXCLUDE_FROM_ALL YES
EXCLUDE_FROM_ALL YES
No branches or pull requests
Either
EXCLUDE_FROM_ALL
has no effect, or I'm using it wrong.Yet, google test still gets built when I run
make
.The text was updated successfully, but these errors were encountered: