summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Modules/Compiler/PathScale-CXX.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.18/Modules/Compiler/PathScale-CXX.cmake')
-rw-r--r--share/cmake-3.18/Modules/Compiler/PathScale-CXX.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/cmake-3.18/Modules/Compiler/PathScale-CXX.cmake b/share/cmake-3.18/Modules/Compiler/PathScale-CXX.cmake
new file mode 100644
index 0000000..276b81b
--- /dev/null
+++ b/share/cmake-3.18/Modules/Compiler/PathScale-CXX.cmake
@@ -0,0 +1,4 @@
+include(Compiler/PathScale)
+__compiler_pathscale(CXX)
+string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
+string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " -DNDEBUG")