Skip to content

Commit e598ce8

Browse files
build(deps): use pre-compiled boost
1 parent a038cc1 commit e598ce8

13 files changed

Lines changed: 1627 additions & 95 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ if(${END_BUILD})
5151
return()
5252
endif()
5353

54+
# CPM
55+
include(${CMAKE_MODULE_PATH}/cpm/CPM.cmake)
56+
CPMUsePackageLock(package-lock.cmake)
57+
5458
# project constants
5559
include(${CMAKE_MODULE_PATH}/prep/constants.cmake)
5660

cmake/compile_definitions/macos.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ foreach(dir ${MACOS_LINK_DIRECTORIES})
1313
endif()
1414
endforeach()
1515

16-
if(NOT BOOST_USE_STATIC AND NOT FETCH_CONTENT_BOOST_USED)
16+
if(NOT BOOST_USE_STATIC AND NOT CPM_BOOST_USED)
1717
ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)
1818
endif()
1919

cmake/cpm/.cmake-lint-ignore

Whitespace-only changes.

0 commit comments

Comments
 (0)