Skip to content

Commit 0fece67

Browse files
committed
Merge branch 'yurivict-use-BUILD_TESTING'
2 parents c9ca8e2 + e2a2d8f commit 0fece67

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

CMakeLists.txt

+5-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ endif()
4040

4141
add_subdirectory(src/cpp subprocess)
4242

43-
# TODO testing
44-
enable_testing()
45-
add_subdirectory(test)
46-
add_subdirectory(examples)
43+
if (BUILD_TESTING)
44+
enable_testing()
45+
add_subdirectory(test)
46+
endif(BUILD_TESTING)
47+

0 commit comments

Comments
 (0)