Patch CMake version check in Umpire (#19590)
* Patch CMake version check in Umpire * Update version constraint for cmake_version_check patch Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Add maintainers to Umpire Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
518124c14a
commit
e2a720930a
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/umpire/CMakeLists.txt b/src/umpire/CMakeLists.txt
|
||||||
|
index 18518f13..c2e45e03 100644
|
||||||
|
--- a/src/umpire/CMakeLists.txt
|
||||||
|
+++ b/src/umpire/CMakeLists.txt
|
||||||
|
@@ -105,7 +105,7 @@ blt_add_library(
|
||||||
|
DEPENDS_ON ${umpire_depends}
|
||||||
|
DEFINES ${umpire_defines})
|
||||||
|
|
||||||
|
-if (NOT WIN32 AND CMAKE_VERSION VERSION_GREATER 3.17)
|
||||||
|
+if (NOT WIN32 AND NOT ${CMAKE_VERSION} VERSION_LESS 3.18)
|
||||||
|
target_link_options(
|
||||||
|
umpire INTERFACE
|
||||||
|
$<BUILD_INTERFACE:$<$<NOT:$<LINK_LANGUAGE:Fortran>>:-rdynamic>>
|
@ -14,6 +14,8 @@ class Umpire(CMakePackage, CudaPackage):
|
|||||||
homepage = 'https://github.com/LLNL/Umpire'
|
homepage = 'https://github.com/LLNL/Umpire'
|
||||||
git = 'https://github.com/LLNL/Umpire.git'
|
git = 'https://github.com/LLNL/Umpire.git'
|
||||||
|
|
||||||
|
maintainers = ['davidbeckingsale']
|
||||||
|
|
||||||
version('develop', branch='develop', submodules='True')
|
version('develop', branch='develop', submodules='True')
|
||||||
version('main', branch='main', submodules='True')
|
version('main', branch='main', submodules='True')
|
||||||
version('4.1.2', tag='v4.1.2', submodules='True')
|
version('4.1.2', tag='v4.1.2', submodules='True')
|
||||||
@ -42,6 +44,7 @@ class Umpire(CMakePackage, CudaPackage):
|
|||||||
version('0.1.3', tag='v0.1.3', submodules='True')
|
version('0.1.3', tag='v0.1.3', submodules='True')
|
||||||
|
|
||||||
patch('camp_target_umpire_3.0.0.patch', when='@3.0.0')
|
patch('camp_target_umpire_3.0.0.patch', when='@3.0.0')
|
||||||
|
patch('cmake_version_check.patch', when='@4.1.0:main')
|
||||||
|
|
||||||
variant('fortran', default=False, description='Build C/Fortran API')
|
variant('fortran', default=False, description='Build C/Fortran API')
|
||||||
variant('c', default=True, description='Build C API')
|
variant('c', default=True, description='Build C API')
|
||||||
|
Loading…
Reference in New Issue
Block a user