bemanproject / exemplar

Example Beman project
Other
11 stars 16 forks source link

Disable installing gtest when `cmake --install` #37

Closed wusatosi closed 1 month ago

wusatosi commented 1 month ago

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.

wusatosi commented 1 month ago

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 commented 1 month ago

Explicitly requesting review from @camio.