summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Cray-C.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2018-01-24 15:09:08 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2018-01-24 15:09:08 (GMT)
commitb886b46ccb37a273e63f472a767b58aea50af724 (patch)
treefb474b6cb2b09b3331e35a8543eb1e6df2e0b69e /Modules/Compiler/Cray-C.cmake
parentc1e087a9d3af74299d7681c9f9de59e5977a1539 (diff)
downloadCMake-b886b46ccb37a273e63f472a767b58aea50af724.zip
CMake-b886b46ccb37a273e63f472a767b58aea50af724.tar.gz
CMake-b886b46ccb37a273e63f472a767b58aea50af724.tar.bz2
Cray: Add common PIC flags
Fixes #17208
Diffstat (limited to 'Modules/Compiler/Cray-C.cmake')
-rw-r--r--Modules/Compiler/Cray-C.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/Compiler/Cray-C.cmake b/Modules/Compiler/Cray-C.cmake
index 87ce20f..d34154c 100644
--- a/Modules/Compiler/Cray-C.cmake
+++ b/Modules/Compiler/Cray-C.cmake
@@ -2,8 +2,7 @@
# file Copyright.txt or https://cmake.org/licensing for details.
include(Compiler/Cray)
-
-set(CMAKE_C_VERBOSE_FLAG "-v")
+__compiler_cray(C)
string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -DNDEBUG")