From 5121fd9654246e52fb5a273038f4d9416085ffa3 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Thu, 18 Aug 2022 09:39:29 +0200 Subject: [PATCH] Add boost:filesystem_version=3 --- .github/workflows/osrm-backend.yml | 4 ++-- CMakeLists.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index edcb200ee..c5a367126 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -444,9 +444,9 @@ jobs: uses: actions/cache@v2 with: path: ~/.conan - key: conan-${{ matrix.name }}-${{ github.sha }} + key: v2-conan-${{ matrix.name }}-${{ github.sha }} restore-keys: | - conan-${{ matrix.name }}- + v2-conan-${{ matrix.name }}- - name: Enable test cache uses: actions/cache@v2 with: diff --git a/CMakeLists.txt b/CMakeLists.txt index 32c7a5735..f611794fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -474,6 +474,7 @@ if(ENABLE_CONAN) GENERATORS cmake_find_package KEEP_RPATHS NO_OUTPUT_DIRS + OPTIONS boost:filesystem_version=3 # https://stackoverflow.com/questions/73392648/error-with-boost-filesystem-version-in-cmake ) add_dependency_includes(${CONAN_INCLUDE_DIRS_BOOST})