Skip to content

Commit e9c1589

Browse files
committed
Fixed cmake fetch settings
1 parent 77bd8d8 commit e9c1589

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

cmake/highfive.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
include(FetchContent)
22
FetchContent_Declare(
33
highfive
4+
SYSTEM
45
GIT_REPOSITORY https://github.com/BlueBrain/HighFive.git
56
)
67
FetchContent_MakeAvailable(highfive)

cmake/pybind11.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ endif()
77
include(FetchContent)
88
FetchContent_Declare(
99
pybind11
10+
SYSTEM
1011
GIT_REPOSITORY https://github.com/pybind/pybind11.git
1112
)
1213
FetchContent_GetProperties(pybind11)
@@ -15,4 +16,4 @@ if(NOT pybind11_POPULATED)
1516
FetchContent_Populate(pybind11)
1617
add_subdirectory(${pybind11_SOURCE_DIR} ${pybind11_BINARY_DIR})
1718
include_directories(${pybind11_SOURCE_DIR}/include)
18-
endif()
19+
endif()

cmake/spectra.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ endif()
55
include(FetchContent)
66
FetchContent_Declare(
77
spectra
8+
SYSTEM
89
GIT_REPOSITORY https://github.com/yixuan/spectra.git
910
)
10-
FetchContent_MakeAvailable(spectra)
11+
FetchContent_MakeAvailable(spectra)

cmake/suitesparse.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ endif()
55
include(FetchContent)
66
FetchContent_Declare(
77
suitesparse
8-
SYSTEM
8+
SYSTEM
99
GIT_REPOSITORY https://github.com/DrTimothyAldenDavis/SuiteSparse.git
10-
GIT_TAG stable
10+
GIT_TAG stable
1111
)
1212
FetchContent_MakeAvailable(suitesparse)

0 commit comments

Comments
 (0)