Skip to content

Commit 3d86f2a

Browse files
committed
remove duplicated include Catch
1 parent eddeaf4 commit 3d86f2a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ find_package(Threads)
22

33
find_package(Catch2 QUIET)
44

5-
if (Catch2_FOUND)
6-
include(Catch)
7-
else()
5+
if (NOT Catch2_FOUND)
86
include(FetchContent)
97

108
FetchContent_Declare(

0 commit comments

Comments
 (0)