-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch Tuesday for July 2024 (#39896)
- Loading branch information
1 parent
216c741
commit 6cd9d7f
Showing
39 changed files
with
358 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 2828e64..7b84de3 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -40,6 +40,8 @@ endif() | ||
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/build_types/documentation.cmake") | ||
|
||
set(BOOST_VERSION 1.74) | ||
+find_package(Boost ${BOOST_VERSION} REQUIRED) | ||
+ | ||
if(NOT INSTALLATION_ONLY) | ||
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/versioning/version.cmake") | ||
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/copyright_checker.cmake") | ||
@@ -48,8 +50,6 @@ if(NOT INSTALLATION_ONLY) | ||
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/sanitizers.cmake") | ||
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/ccache.cmake") | ||
|
||
- find_package(Boost ${BOOST_VERSION} REQUIRED) | ||
- | ||
find_package(span-lite QUIET) | ||
if (NOT span-lite_FOUND) | ||
message(WARNING "span-lite package not found, you will need to compile against C++20 or higher") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 7821b27..723a1a9 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -12,7 +12,11 @@ include(GNUInstallDirs) | ||
include(CMakeDependentOption) | ||
include(CMakePackageConfigHelpers) | ||
|
||
-if(EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo_multi.cmake) | ||
+option(USE_EXTERNAL_MDSPAN "Use external copy of mdspan" OFF) | ||
+ | ||
+if(${USE_EXTERNAL_MDSPAN}) | ||
+ find_package(mdspan CONFIG REQUIRED) | ||
+elseif(EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo_multi.cmake) | ||
include(${CMAKE_BINARY_DIR}/conanbuildinfo_multi.cmake) | ||
conan_basic_setup() | ||
find_package(mdspan CONFIG REQUIRED) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.