Skip to content

Commit

Permalink
declare_cache_var instead of option
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardicus committed Jan 21, 2025
1 parent 0001ae4 commit eb70a91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ status_print(project_version)
declare_cache_var(ZENOHCXX_ZENOHC ON BOOL "Build for Zenoh-c target")
declare_cache_var(ZENOHCXX_ZENOHPICO OFF BOOL "Build for Zenoh-pico target")
declare_cache_var(ZENOHCXX_EXAMPLES_PROTOBUF ON BOOL "Build Protobuf example (turn off if you have problems with installed Protobuf version)")
declare_cache_var(ENABLE_TESTS "Enable building tests" ON)
declare_cache_var(ENABLE_EXAMPLES "Enable building examples" ON)
declare_cache_var(ENABLE_TESTS ON BOOL "Enable building tests" ON)
declare_cache_var(ENABLE_EXAMPLES ON BOOL "Enable building examples" ON)

set_default_build_type(Release)

Expand Down

0 comments on commit eb70a91

Please sign in to comment.