cmake: use ctest module

This commit is contained in:
Alexandre Bouvier 2022-12-31 19:43:35 +01:00 committed by merry
parent a1cbea7948
commit 46e5f4ee97
3 changed files with 5 additions and 6 deletions

View file

@ -19,8 +19,6 @@ set(BUILD_TESTING OFF)
if (NOT TARGET Catch2::Catch2WithMain)
if (DYNARMIC_TESTS)
add_subdirectory(catch EXCLUDE_FROM_ALL)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/externals/catch/extras")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} PARENT_SCOPE)
endif()
endif()