Skip to content

Commit babf73b

Browse files
committed
increase default omegah version to 10
we still support version 9 from the sandia repo
1 parent 3250323 commit babf73b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ option(SKIP_SIMMETRIX_VERSION_CHECK "enable at your own risk; it may result in u
9393
option(ENABLE_SIMMETRIX "Build with Simmetrix support" OFF)
9494
message(STATUS "ENABLE_SIMMETRIX: ${ENABLE_SIMMETRIX}")
9595
option(ENABLE_OMEGA_H "Enable the Omega_h interface" OFF)
96+
option(PUMI_USE_OMEGA_H_VERSION "Specify the Omega_h version PUMI should use" 10.0.0)
9697
message(STATUS "ENABLE_OMEGA_H: ${ENABLE_OMEGA_H}")
9798
if(ENABLE_SIMMETRIX)
9899
add_definitions(-DHAVE_SIMMETRIX)
@@ -116,7 +117,7 @@ endif()
116117
if(ENABLE_OMEGA_H)
117118
# find the omega_h library
118119
set(SCOREC_USE_Omega_h_DEFAULT ${ENABLE_OMEGA_H})
119-
set(Omega_h_REQUIRED_VERSION 9.0.0)
120+
set(Omega_h_REQUIRED_VERSION ${PUMI_USE_OMEGA_H_VERSION})
120121
bob_public_dep(Omega_h)
121122
endif()
122123

0 commit comments

Comments
 (0)