include_guard(GLOBAL) block() rcl_init(aethera_kernel) set(taskflow_option ${base_options}) list(APPEND taskflow_option -DTF_BUILD_EXAMPLES=OFF -DTF_BUILD_TESTS=OFF -DTF_BUILD_BENCHMARKS=OFF -DTF_BUILD_PROFILER=OFF -DTF_BUILD_CUDA=OFF -DTF_BUILD_MODULES=OFF ) _register_git_cmake_library(aethera_kernel::taskflow "https://github.com/taskflow/taskflow.git" "v4.1.0" ) rcl_get_effective_install_dir( aethera_kernel::taskflow TASKFLOW_ROOT ) set(Taskflow_DIR "${TASKFLOW_ROOT}/share/cmake/Taskflow" ) rcl_cmake_library_set_cmake_options( aethera_kernel::taskflow ${taskflow_option} ) rcl_cmake_library_set_other_use_opt( aethera_kernel::taskflow "-DTaskflow_DIR=\"${Taskflow_DIR}\"" ) rcl_cmake_library_set_init_script( aethera_kernel::taskflow "set(TASKFLOW_ROOT \"${TASKFLOW_ROOT}\")" "set(Taskflow_DIR \"${Taskflow_DIR}\")" ) rcl_cmake_library_set_clear_script( aethera_kernel::taskflow "unset(TASKFLOW_ROOT)" "unset(Taskflow_DIR)" ) set(MPMCQueue_option ${base_options}) _register_git_cmake_library(aethera_kernel::MPMCQueue "https://github.com/rigtorp/MPMCQueue.git" "v1.0.0" ) rcl_get_effective_install_dir(aethera_kernel::MPMCQueue MPMCQUEUE_ROOT) set(MPMCQUEUE_INCLUDE_DIR "${MPMCQUEUE_ROOT}") rcl_cmake_library_set_cmake_options(aethera_kernel::MPMCQueue ${MPMCQueue_option}) rcl_cmake_library_set_other_use_opt(aethera_kernel::MPMCQueue "-DMPMCQueue_INCLUDE_DIR=\"${MPMCQUEUE_INCLUDE_DIR}\"" ) rcl_cmake_library_set_init_script(aethera_kernel::MPMCQueue "set(MPMCQUEUE_ROOT \"${MPMCQUEUE_ROOT}\")" "set(MPMCQueue_INCLUDE_DIR \"${MPMCQUEUE_INCLUDE_DIR}\")" ) rcl_cmake_library_set_clear_script(aethera_kernel::MPMCQueue "unset(MPMCQUEUE_ROOT)" "unset(MPMCQueue_INCLUDE_DIR)" ) endblock()