Skip to content

Commit

Permalink
Only build examples when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Mads Andreasen committed Jan 10, 2021
1 parent cbb599a commit 34b5617
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ if(LINT)
set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=*,-fuchsia-*)
endif()


add_subdirectory(src)
add_subdirectory(example)

if(HSM_TESTING)
add_subdirectory(example)
enable_testing()
add_subdirectory(tests)
endif()

0 comments on commit 34b5617

Please sign in to comment.