Skip to content

Commit

Permalink
Respect BUILD_TESTING (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdenCullen authored Nov 26, 2019
1 parent 050728e commit 704f364
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,7 @@ install(FILES ${EXPORT_MODULES}

if (NOT CMAKE_CROSSCOMPILING AND NOT BYO_CRYPTO)
include(CTest)
add_subdirectory(tests)
if (BUILD_TESTING)
add_subdirectory(tests)
endif()
endif()

0 comments on commit 704f364

Please sign in to comment.