From 2c1f5150b276ded3452dc19a311919176e50e681 Mon Sep 17 00:00:00 2001 From: Dominik Drexler Date: Tue, 9 Jan 2024 22:32:52 +0100 Subject: [PATCH] . --- CMakeLists.txt | 2 +- dependencies/boost/CMakeLists.txt | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 33ad3824..55100d61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,7 @@ configure_ccache() # Boost # Find Boost headers only according to https://cmake.org/cmake/help/latest/module/FindBoost.html configure_boost() -# set(CMAKE_FIND_DEBUG_MODE ON) +set(CMAKE_FIND_DEBUG_MODE ON) find_package(Boost ${BOOST_MIN_VERSION} REQUIRED) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS}) diff --git a/dependencies/boost/CMakeLists.txt b/dependencies/boost/CMakeLists.txt index ebab95e7..e1f5202a 100644 --- a/dependencies/boost/CMakeLists.txt +++ b/dependencies/boost/CMakeLists.txt @@ -5,16 +5,6 @@ include(ExternalProject) message(STATUS "Preparing external project \"boost\":") -# ExternalProject_Add( -# boost -# # URL https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.tar.gz ## the official link is broken -# URL https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.gz -# CONFIGURE_COMMAND "" -# BUILD_COMMAND "" -# INSTALL_COMMAND "" -# UPDATE_DISCONNECTED true -# ) - ExternalProject_Add(BoostHeaders URL https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.gz PREFIX ${CMAKE_BINARY_DIR}/external/boost @@ -25,6 +15,4 @@ ExternalProject_Add(BoostHeaders UPDATE_DISCONNECTED 1 ) -# ExternalProject_Get_Property(boost source_dir) -# set(BOOST_INCLUDE_DIRS ${source_dir}) -set(BOOST_INCLUDE_DIRS ${CMAKE_INSTALL_PREFIX}) +set(BOOST_INCLUDE_DIRS ${CMAKE_INSTALL_PREFIX})