Skip to content

Commit 7db0be2

Browse files
Make: FORK_UNION_BUILD_TESTS CMake option #30
1 parent bed12f8 commit 7db0be2

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
@@ -224,7 +224,10 @@ endif ()
224224

225225
# Tests & benchmarking scripts
226226
include(CTest)
227-
if (BUILD_TESTING)
227+
228+
option(FORK_UNION_BUILD_TESTS "Build fork_union tests" ON)
229+
230+
if (BUILD_TESTING AND FORK_UNION_BUILD_TESTS)
228231
enable_testing()
229232
add_subdirectory(scripts)
230233
endif ()

0 commit comments

Comments
 (0)