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 #