Skip to content

Commit 0fb29fe

Browse files
author
Clement Champetier
committed
CMake: add argument DISABLE_APPS
1 parent d7b0296 commit 0fb29fe

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,9 @@ endif()
3030

3131

3232
add_subdirectory(src)
33-
add_subdirectory(app)
33+
34+
if(DISABLE_APPS)
35+
message("Apps disabled, will not build applications.")
36+
else()
37+
add_subdirectory(app)
38+
endif()

0 commit comments

Comments
 (0)