KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I just downloaded googletest, generated its makefile with CMake and built it. Now, I need to use it in my testing project. With CMake, I have been advised not pointing to gtest libraries directly (using include _directories or link_directories ) but use find_package() instead. The problem is, there is no install target for the gtest makefile generated. I cannot understand how find_package(GTest REQUIRED) could work without some kind of installation. Also, putting the gtest folder as a subfolder in my project is not possible. Thanks for any help.
Tags (comma-separated)
Save Edits
Cancel