Skip to content

Commit e153bdb

Browse files
committed
fix cmakelists (examples)
1 parent e4adbb7 commit e153bdb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

examples/CMakeLists.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,19 @@ CompileExample("t08_additional_node_args")
2727
CompileExample("t09_scripting")
2828
CompileExample("t10_observer")
2929

30-
if(BTCPP_GROOT_INTERFACE AND BTCPP_SQLITE_LOGGING)
31-
CompileExample("t11_groot_howto")
30+
if(BTCPP_GROOT_INTERFACE)
31+
CompileExample("t11_groot_howto")
3232
endif()
3333

3434
CompileExample("t12_default_ports")
3535
CompileExample("t13_access_by_ref")
3636
CompileExample("t14_subtree_model")
3737
CompileExample("t15_nodes_mocking")
38-
CompileExample("t16_sqlite_log")
38+
39+
if(BTCPP_SQLITE_LOGGING)
40+
CompileExample("t16_sqlite_log")
41+
endif()
42+
3943
CompileExample("t17_blackboard_backup")
4044
CompileExample("t18_waypoints")
4145

0 commit comments

Comments
 (0)