Skip to content

Commit

Permalink
Add flag for building tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikPrantare authored and btzy committed Mar 16, 2021
1 parent fbd8480 commit 83782dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ message("nfd Compiler: ${nfd_COMPILER}")
set (CMAKE_CXX_STANDARD 17)

add_subdirectory(src)
add_subdirectory(test)

option(NFD_BUILD_TESTS "Build tests for nfd" OFF)
if(${NFD_BUILD_TESTS})
add_subdirectory(test)
endif()

0 comments on commit 83782dc

Please sign in to comment.