From cf06238f33589f525bd4158aec9d8425d5149dce Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Tue, 15 Oct 2024 13:33:14 -0400 Subject: [PATCH] Add include private --- .github/workflows/ci.yml | 1 - test/compile_test/CMakeLists.txt | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be738eb96e..c050c37c3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -552,7 +552,6 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-20.04 - os: ubuntu-22.04 runs-on: ${{matrix.os}} diff --git a/test/compile_test/CMakeLists.txt b/test/compile_test/CMakeLists.txt index ddd764dfa8..f777e61c36 100644 --- a/test/compile_test/CMakeLists.txt +++ b/test/compile_test/CMakeLists.txt @@ -2,7 +2,8 @@ # Distributed under the Boost Software License, Version 1.0. # https://www.boost.org/LICENSE_1_0.txt +include_directories(../../include_private) file(GLOB SOURCES "*.cpp") add_library(boost_math-compile_tests STATIC ${SOURCES}) target_compile_features(boost_math-compile_tests PRIVATE cxx_std_17) -target_link_libraries(boost_math-compile_tests PUBLIC Boost::math Boost::multiprecision Boost::numeric_ublas) +target_link_libraries(boost_math-compile_tests PUBLIC Boost::math Boost::multiprecision Boost::numeric_ublas Boost::unit_test_framework)