summaryrefslogtreecommitdiff
path: root/devel/babelflow/files/patch-CMakeLists.txt
blob: e20464f10eaef178835b60dc391e0b7d0ecd34ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- CMakeLists.txt.orig	2022-11-22 22:42:05 UTC
+++ CMakeLists.txt
@@ -101,7 +101,9 @@ endif()
 
 add_subdirectory(src)
 
-add_subdirectory(examples)
+if (BUILD_EXAMPLES)
+  add_subdirectory(examples)
+endif()
 
 install(EXPORT BabelFlow NAMESPACE BabelFlow:: DESTINATION lib/cmake)
 install(FILES BabelFlowConfig.cmake DESTINATION lib/cmake)