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)" ) endblock()