Skip to content

Commit e9ac90e

Browse files
committed
Build test optionaly
1 parent a90333e commit e9ac90e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ if(BUILD_CONTROLS)
6262
add_subdirectory(src)
6363
endif()
6464

65-
add_subdirectory(tests)
65+
if(BUILD_TESTS)
66+
add_subdirectory(tests)
67+
endif()
6668

6769
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)

0 commit comments

Comments
 (0)