Skip to content

Commit

Permalink
Only build sha256_profile if BUILD_TESTING is enabled (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Boswell authored Sep 7, 2021
1 parent fa24405 commit c4c5b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ install(FILES ${EXPORT_MODULES}
COMPONENT Development)

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

0 comments on commit c4c5b17

Please sign in to comment.