This is an automated email from the ASF dual-hosted git repository. pengzheng pushed a commit to branch hotfix/standalone-examples in repository https://gitbox.apache.org/repos/asf/celix.git
commit d0aa3406a75d1f4154c3a5bb65559d181d85bde7 Author: PengZheng <[email protected]> AuthorDate: Wed Jun 21 18:50:15 2023 +0800 Add missing `find_package` to make examples standalone. --- examples/celix-examples/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/celix-examples/CMakeLists.txt b/examples/celix-examples/CMakeLists.txt index fc5f3497..d7224b46 100644 --- a/examples/celix-examples/CMakeLists.txt +++ b/examples/celix-examples/CMakeLists.txt @@ -21,6 +21,7 @@ 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) + find_package(Celix REQUIRED) endif () if (EXAMPLES) add_definitions(-DADD_CELIX_DEPRECATED_WARNING) #ensure that no deprecated api is used in the examples
