Permalink
Browse files

actually enable testing

  • Loading branch information...
1 parent e8ff500 commit 6da98b1d2c424e54090b399d60b56a3d7a9aaf63 @yarikoptic yarikoptic committed Apr 29, 2016
Showing with 4 additions and 1 deletion.
  1. +4 −1 CMakeLists.txt
View
@@ -10,5 +10,8 @@ OPTION(AFNI_BUILD_TESTS
"Enable testing and build available tests"
OFF)
-ADD_SUBDIRECTORY(tests)
+IF(AFNI_BUILD_TESTS)
+ ENABLE_TESTING()
+ ADD_SUBDIRECTORY(tests)
+ENDIF(AFNI_BUILD_TESTS)

0 comments on commit 6da98b1

Please sign in to comment.