This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch hotfix/broken-cxx-option-default
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 519764c9e6806352b937f967f39dd1acfe8e817e
Author: PengZheng <[email protected]>
AuthorDate: Tue Jun 27 13:30:59 2023 +0800

    Make Cxx option defaults work.
---
 examples/celix-examples/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/celix-examples/CMakeLists.txt 
b/examples/celix-examples/CMakeLists.txt
index fc5f3497..c05966ec 100644
--- a/examples/celix-examples/CMakeLists.txt
+++ b/examples/celix-examples/CMakeLists.txt
@@ -19,8 +19,8 @@ if (COMMAND celix_subproject)
     celix_subproject(EXAMPLES "Option to enable building the Examples" ON DEPS 
SHELL SHELL_TUI LOG_SERVICE)
 else ()
     set(EXAMPLES true) #celix_subproject is only available in the celix 
project -> using examples dir in other project is also supported
-    option(CELIX_CXX14 ON)
-    option(CELIX_CXX17 ON)
+    option(CELIX_CXX14 "Build C++14 libraries and bundles." ON)
+    option(CELIX_CXX17 "Build C++17 libraries and bundles." ON)
 endif ()
 if (EXAMPLES)
     add_definitions(-DADD_CELIX_DEPRECATED_WARNING) #ensure that no deprecated 
api is used in the examples

Reply via email to