Closed Marco-Israel closed 3 years ago
Hey @Marco-Israel, thanks for opening the issue! As outlined in the Usage section of the readme, you need to replace all occurrences of "greeter" in the project, otherwise CMake cannot know which library to link the tests to for the project.
After rename Greeter in global and test CMakeList.txt I cant build it anymore.
CMake Error at ../CMakeLists.txt:47 (add_library):
Produced in test/CmakeList.txt
_if(TEST_INSTALLED_VERSION)
... else()
..
CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LISTDIR}/..)
.. endif()