Skip to content

Commit 26397db

Browse files
committed
Be explicit with igraph's cmake flags
1 parent b6f37e3 commit 26397db

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ find_package(
99

1010
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
1111

12+
set(IGRAPH_ENABLE_LTO AUTO)
13+
set(IGRAPH_USE_INTERNAL_GMP ON)
14+
set(IGRAPH_USE_INTERNAL_ARPACK ON)
15+
set(IGRAPH_USE_INTERNAL_BLAS ON)
16+
set(IGRAPH_USE_INTERNAL_GLPK ON)
17+
set(IGRAPH_USE_INTERNAL_LAPACK ON)
18+
set(IGRAPH_USE_INTERNAL_PLFIT ON)
19+
1220
add_subdirectory(vendor/speakeasy2)
1321

1422
if(NOT "${SKBUILD_SABI_VERSION}" STREQUAL "")

0 commit comments

Comments
 (0)