blob: 05f80e0b657b9d417736c4f3b2d219bbe4f6f9cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
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>>
|