Fixing catch path

This commit is contained in:
Zoe Roux
2021-05-24 15:29:54 +02:00
parent c104a3ad99
commit 851e4e50e0
+1 -1
View File
@@ -42,7 +42,7 @@ target_link_libraries(unit_tests PUBLIC wal ray)
find_package(Catch2 QUIET)
if (NOT Catch2_FOUND)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../catch2)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/lib/catch2)
find_package(Catch2 REQUIRED)
endif()
target_link_libraries(unit_tests PRIVATE Catch2::Catch2)