Skip to content

Commit e254d45

Browse files
authored
Fix: Allow disabling test compilation (#151)
1 parent 2b55a17 commit e254d45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ endif()
7878
######################################
7979

8080
add_subdirectory(nuTens)
81-
add_subdirectory(tests)
81+
82+
if(NT_COMPILE_TESTS)
83+
add_subdirectory(tests)
84+
endif()
8285

8386
if(NT_ENABLE_PYTHON)
8487
add_subdirectory(python)

0 commit comments

Comments
 (0)