fix(linux): fixed linux compilation

This commit is contained in:
2026-01-31 10:39:55 -05:00
parent e5bfd54234
commit 2db3d6e666
3 changed files with 7 additions and 4 deletions

View File

@@ -5,9 +5,10 @@ mfem_cmake_options.add_cmake_defines({
'MFEM_ENABLE_TESTING': 'OFF',
'MFEM_ENABLE_MINIAPPS': 'OFF',
'MFEM_USE_BENCMARK': 'OFF',
'BUILD_SHARED_LIBS': 'ON',
'CMAKE_SKIP_INSTALL_RULES': 'ON'
'BUILD_SHARED_LIBS': 'OFF',
'BUILD_STATIC_LIBS': 'ON',
})
mfem_cmake_options.set_install(true)
mfem_sp = cmake.subproject(
'mfem',

View File

@@ -1,4 +1,4 @@
[wrap-git]
url = https://github.com/4D-STAR/libconfig.git
revision = v2.0.4
revision = v2.0.5
depth = 1

View File

@@ -1,6 +1,7 @@
gtest_dep = dependency('gtest', main: true, required : true)
gtest_main = dependency('gtest_main', required: true)
gtest_nomain_dep = dependency('gtest', main: false, required : true)
threads_dep = dependency('threads')
# Test files for const
test_sources = [
@@ -14,6 +15,7 @@ foreach test_file : test_sources
exe_name,
test_file,
dependencies: [
threads_dep,
stroid_dep,
gtest_dep,
gtest_main