Skip to content

Commit

Permalink
revert cmakelists
Browse files Browse the repository at this point in the history
  • Loading branch information
dangfan committed May 24, 2020
1 parent 3f138ac commit e296763
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ target_include_directories(canokey-crypto PRIVATE mbedtls/include)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")

option(ENABLE_CRYPTO_TESTS "Perform unit tests after build" ON)
#if (ENABLE_CRYPTO_TESTS)
option(ENABLE_CRYPTO_TESTS "Perform unit tests after build" OFF)
if (ENABLE_CRYPTO_TESTS)
# for coverage
if (CMAKE_C_COMPILER_ID MATCHES "Clang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage")
Expand All @@ -40,4 +40,4 @@ option(ENABLE_CRYPTO_TESTS "Perform unit tests after build" ON)
include(AddMockedTest)
add_subdirectory(test)
enable_testing()
#endif (ENABLE_CRYPTO_TESTS)
endif (ENABLE_CRYPTO_TESTS)

0 comments on commit e296763

Please sign in to comment.