Skip to content

Commit

Permalink
added find package for catch2
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharan-devarajan committed Jan 11, 2021
1 parent 01384c2 commit 4080799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ if(CMAKE_PROJECT_NAME STREQUAL HERMES)
endif()

if(CMAKE_PROJECT_NAME STREQUAL HERMES AND BUILD_TESTING)
find_package(Catch2 REQUIRED)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/test)
endif()

Expand Down

0 comments on commit 4080799

Please sign in to comment.