We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fd7c13 commit b75af68Copy full SHA for b75af68
1 file changed
CMakeLists.txt
@@ -104,12 +104,15 @@ find_package(pybind11 CONFIG REQUIRED)
104
find_package(BLAS REQUIRED)
105
find_package(LAPACK REQUIRED)
106
107
+# Force Basix to compile statically and embed directly into feelmri extensions
108
+set(BUILD_SHARED_LIBS OFF CACHE BOOL "Force static libraries" FORCE)
109
+
110
include(FetchContent)
111
FetchContent_Declare(
112
basix
113
GIT_REPOSITORY https://github.com/FEniCS/basix.git
- GIT_TAG v0.10.0 # Matches the >=0.10.0 requirement in your pyproject.toml
- SOURCE_SUBDIR cpp # Tells CMake to look for CMakeLists.txt inside the cpp/ folder
114
+ GIT_TAG v0.10.0
115
+ SOURCE_SUBDIR cpp
116
)
117
118
FetchContent_GetProperties(basix)
0 commit comments