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

Add fetching specified googletest version #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Solpatium
Copy link
Contributor

Split from #11.

Copy link
Collaborator

@ilyalesokhin-starkware ilyalesokhin-starkware left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Collaborator

@ilyalesokhin-starkware ilyalesokhin-starkware left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Solpatium)


CMakeLists.txt line 10 at r1 (raw file):

# Basic setup for gtest
find_package(GTest REQUIRED)
include_directories(${GTEST_INCLUDE_DIRS})

how come this is no longer nessiary?

Code quote:

include_directories(${GTEST_INCLUDE_DIRS})

@Solpatium
Copy link
Contributor Author

Although it did work before (I've just tested it) I don't see in the docs about FetchContent_MakeAvailable info that include_directories is called automatically, so I added it just in case.

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.

2 participants