Skip to content

Commit a7789d4

Browse files
fix(examples):fix generate olink_example feature
in cmake adding subdirectory for olink exapmles was done for wrong feature, now it is added if olink_example feature is on
1 parent 68711f2 commit a7789d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/CMakeLists.txt.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ endif()
5151
add_subdirectory(examples/app)
5252
add_subdirectory(examples/appthreadsafe)
5353
{{- end }}
54-
{{- if .Features.examples }}
54+
{{- if .Features.examples_olink }}
5555
add_subdirectory(examples/olinkserver)
5656
add_subdirectory(examples/olinkclient)
5757
{{- end }}

0 commit comments

Comments
 (0)