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

Update CMakeLists.txt #15

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

Update CMakeLists.txt #15

wants to merge 3 commits into from

Conversation

n0ner
Copy link

@n0ner n0ner commented Nov 2, 2023

Hey Fabian, thanks for this amazing bag of tricks!

I'm not sure if this is completely correct, but for me to make this work as a sub directory in my project, I needed to change the GTEST_DIR to make use of CMAKE_CURRENT_SOURCE_DIR. Otherwise it pointed to my main project's source directory.

Cheers!
Jay

@witte
Copy link

witte commented Dec 15, 2023

This PR also allows using farbot with cmake's fetch content, would be great to see it getting merged 👍

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