Skip to content

Commit

Permalink
tests: add tests dir only when GTEST exists
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Dec 6, 2019
1 parent 8b76853 commit b0a0749
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

IF(NOT client-only)
add_subdirectory(tools)
add_subdirectory(tests)
IF(GTEST_FOUND)
add_subdirectory(tests)
ENDIF()
add_subdirectory(cats)
IF(NOT HAVE_WIN32 AND ndmp)
add_subdirectory(ndmp)
Expand Down

0 comments on commit b0a0749

Please sign in to comment.