Skip to content

Update CMakeLists.txt#15

Open
n0ner wants to merge 3 commits intohogliux:masterfrom
n0ner:master
Open

Update CMakeLists.txt#15
n0ner wants to merge 3 commits intohogliux:masterfrom
n0ner:master

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