-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Cloned onto Fedora Linux (4.16.11-100.fc26.x86_64) using
target_link_libraries(testExe Catch2::Catch) # Prefer namespaced library
Gives me
CMake Error at CMakeLists.txt:24 (add_executable):
Target "testExe" links to target "Catch2::Catch" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
cmake works fine if I use target_link_libraries(testExe Catch2)
But the result does not compile (cannot find <catch.hpp>).
Metadata
Metadata
Assignees
Labels
No labels