Skip to content

Commit

Permalink
have cmake version in dll source match openmc build
Browse files Browse the repository at this point in the history
  • Loading branch information
gridley committed Mar 7, 2024
1 parent 09bd130 commit 1c4995f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/custom_source/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(openmc_sources CXX)
add_library(source SHARED source_ring.cpp)
find_package(OpenMC REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion examples/parameterized_custom_source/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(openmc_sources CXX)
add_library(parameterized_source SHARED parameterized_source_ring.cpp)
find_package(OpenMC REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion tests/regression_tests/cpp_driver/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def cpp_driver(request):
openmc_dir = Path(str(request.config.rootdir)) / 'build'
with open('CMakeLists.txt', 'w') as f:
f.write(textwrap.dedent("""
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(openmc_cpp_driver CXX)
add_executable(cpp_driver driver.cpp)
find_package(OpenMC REQUIRED HINTS {})
Expand Down
2 changes: 1 addition & 1 deletion tests/regression_tests/dagmc/external/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def cpp_driver(request):
openmc_dir = Path(str(request.config.rootdir)) / 'build'
with open('CMakeLists.txt', 'w') as f:
f.write(textwrap.dedent("""
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(openmc_cpp_driver CXX)
add_executable(main main.cpp)
find_package(OpenMC REQUIRED HINTS {})
Expand Down
2 changes: 1 addition & 1 deletion tests/regression_tests/external_moab/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def cpp_driver(request):
openmc_dir = Path(str(request.config.rootdir)) / 'build'
with open('CMakeLists.txt', 'w') as f:
f.write(textwrap.dedent("""
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(openmc_cpp_driver CXX)
add_executable(main main.cpp)
find_package(OpenMC REQUIRED HINTS {})
Expand Down
2 changes: 1 addition & 1 deletion tests/regression_tests/source_dlopen/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def compile_source(request):
openmc_dir = Path(str(request.config.rootdir)) / 'build'
with open('CMakeLists.txt', 'w') as f:
f.write(textwrap.dedent("""
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(openmc_sources CXX)
add_library(source SHARED source_sampling.cpp)
find_package(OpenMC REQUIRED HINTS {})
Expand Down
2 changes: 1 addition & 1 deletion tests/regression_tests/source_parameterized_dlopen/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def compile_source(request):
openmc_dir = Path(str(request.config.rootdir)) / 'build'
with open('CMakeLists.txt', 'w') as f:
f.write(textwrap.dedent("""
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(openmc_sources CXX)
add_library(source SHARED parameterized_source_sampling.cpp)
find_package(OpenMC REQUIRED HINTS {})
Expand Down

0 comments on commit 1c4995f

Please sign in to comment.