From e153bdbba95663a7154fecaf03105e7dffe8fd7d Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Fri, 26 Apr 2024 15:33:14 +0200 Subject: [PATCH] fix cmakelists (examples) --- examples/CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index a668d7e85..89b562996 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -27,15 +27,19 @@ CompileExample("t08_additional_node_args") CompileExample("t09_scripting") CompileExample("t10_observer") -if(BTCPP_GROOT_INTERFACE AND BTCPP_SQLITE_LOGGING) -CompileExample("t11_groot_howto") +if(BTCPP_GROOT_INTERFACE) + CompileExample("t11_groot_howto") endif() CompileExample("t12_default_ports") CompileExample("t13_access_by_ref") CompileExample("t14_subtree_model") CompileExample("t15_nodes_mocking") -CompileExample("t16_sqlite_log") + +if(BTCPP_SQLITE_LOGGING) + CompileExample("t16_sqlite_log") +endif() + CompileExample("t17_blackboard_backup") CompileExample("t18_waypoints")