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

Disable installing gtest when cmake --install #37

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

wusatosi
Copy link
Member

@wusatosi wusatosi commented Sep 30, 2024

closes #32 .

This pr updates the CMake file, and disables installing gtest headers when running cmake --install.

Note that this will require cmake 3.25 due to use of block.

See: https://github.com/beman-project/exemplar/pull/37/checks#step:6:320 for effect of this pr.

CMakeLists.txt Outdated Show resolved Hide resolved
@wusatosi
Copy link
Member Author

The use of block is nice but isn't necessary, I don't think there's any chance we have conflict on the name INSTALL_GTEST

@wusatosi
Copy link
Member Author

Explicitly requesting review from @camio.

Copy link
Member

@neatudarius neatudarius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from my side

CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Contributor

@camio camio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks perfect!

@camio camio merged commit b8d4b06 into bemanproject:main Oct 1, 2024
13 checks passed
@camio camio mentioned this pull request Dec 5, 2024
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

Successfully merging this pull request may close these issues.

gtest and gmock are inadvertantly installed using older versions of CMake
3 participants