Skip to content

Commit e2eee8e

Browse files
authored
cmake: handle options for building tests and examples
1 parent 774c46a commit e2eee8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ endif()
269269

270270
add_subdirectory(models)
271271

272-
if (NOT CLIP_NO_EXAMPLES)
272+
if (CLIP_BUILD_EXAMPLES)
273273
add_subdirectory(examples)
274274
endif()
275275

276-
if (NOT CLIP_NO_TESTS)
276+
if (CLIP_BUILD_TESTS)
277277
add_subdirectory(tests)
278278
endif()

0 commit comments

Comments
 (0)