From 78a49b12188598597f2262100ba4d0050b8b6af5 Mon Sep 17 00:00:00 2001 From: kboyarinov Date: Wed, 5 Feb 2025 03:50:33 -0800 Subject: [PATCH] Add source vars --- .github/workflows/ci.yml | 2 +- doc/main/examples_testing/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aedaccf7e7..8b11b97430 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -392,7 +392,7 @@ jobs: cmake --build . -v --target tbb --target tbbmalloc --target tbbmalloc_proxy - name: Test doc examples run: | - ls + source `find ./build -name vars.sh` cd doc/main/examples_testing mkdir build && cd build cmake -DCMAKE_CXX_STANDARD=${{ matrix.std }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ diff --git a/doc/main/examples_testing/CMakeLists.txt b/doc/main/examples_testing/CMakeLists.txt index 5e0e025e55..5e8428ff50 100644 --- a/doc/main/examples_testing/CMakeLists.txt +++ b/doc/main/examples_testing/CMakeLists.txt @@ -15,7 +15,7 @@ cmake_minimum_required(VERSION 3.11) project(doc_examples_testing) -set(_tbb_include_path "${CMAKE_CURRENT_SOURCE_DIR}/../../include") +set(_tbb_include_path "${CMAKE_CURRENT_SOURCE_DIR}/../../../include") set(_reference_examples_path "${CMAKE_CURRENT_SOURCE_DIR}/../reference/examples") set(_userguide_examples_path "${CMAKE_CURRENT_SOURCE_DIR}/../tbb_userguide/examples")