Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Jan 9, 2024
1 parent 1957154 commit 2c1f515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
14 changes: 1 addition & 13 deletions dependencies/boost/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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})

0 comments on commit 2c1f515

Please sign in to comment.