From abf3330d6946026db5f825931d4598802a15eade Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 22 Sep 2025 12:29:05 -0400 Subject: [PATCH] xo-expression: build: install examples --- xo-expression/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xo-expression/CMakeLists.txt b/xo-expression/CMakeLists.txt index 8edb8ed8..012f1e65 100644 --- a/xo-expression/CMakeLists.txt +++ b/xo-expression/CMakeLists.txt @@ -28,6 +28,12 @@ xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets add_subdirectory(example) add_subdirectory(utest) +# ---------------------------------------------------------------- + +if (XO_ENABLE_EXAMPLES) + install(TARGETS xo_expression_ex1 DESTINATION bin/xo/example) +endif() + # ---------------------------------------------------------------- # docs targets depend on all the other library/utest targets #