summaryrefslogtreecommitdiff
path: root/Modules/Compiler/CrayPrgEnv-CXX.cmake
diff options
context:
space:
mode:
authorChuck Cranor <chuck@ece.cmu.edu>2019-01-29 08:17:44 -0700
committerChuck Cranor <chuck@ece.cmu.edu>2019-01-29 08:17:44 -0700
commiteaf53158f49e6e7581613376e8c054e18bdffc23 (patch)
tree6e72b998d818700ec2d90b4e1982047f4106b349 /Modules/Compiler/CrayPrgEnv-CXX.cmake
parentef8f237686c2a0b51249bfd46d9498abeb019e76 (diff)
downloadcmake-eaf53158f49e6e7581613376e8c054e18bdffc23.tar.gz
CrayPrgEnv/ParseImplicitIncludes: simplify for new implict include parser
Remove now redundant implicit parser code from CrayPrgEnv.cmake, as this function is now supported in the general cmake code (e.g. Modules/CMakeParseImplicit{Include,Link}Info.cmake). This simplifies __CrayPrgEnv_setup() to take only one arg (${lang}) and allows us to remove a level of inclusion as CrayPrgEnv-${lang}.cmake is now compiler independent we do not need the CrayPrgEnv-${compiler}-${lang} files any more.
Diffstat (limited to 'Modules/Compiler/CrayPrgEnv-CXX.cmake')
-rw-r--r--Modules/Compiler/CrayPrgEnv-CXX.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/Compiler/CrayPrgEnv-CXX.cmake b/Modules/Compiler/CrayPrgEnv-CXX.cmake
index aad85b67e2..442370ecce 100644
--- a/Modules/Compiler/CrayPrgEnv-CXX.cmake
+++ b/Modules/Compiler/CrayPrgEnv-CXX.cmake
@@ -4,8 +4,4 @@ endif()
set(__craylinux_crayprgenv_cxx 1)
include(Compiler/CrayPrgEnv)
-macro(__CrayPrgEnv_setup_CXX compiler_cmd link_cmd)
- __CrayPrgEnv_setup(CXX
- ${CMAKE_ROOT}/Modules/CMakeCXXCompilerABI.cpp
- ${compiler_cmd} ${link_cmd})
-endmacro()
+__CrayPrgEnv_setup(CXX)