From b3e9c7290114df08f5fb2660ea13108bf5344a6d Mon Sep 17 00:00:00 2001 From: Fred Baksik Date: Wed, 16 Mar 2022 16:25:13 -0400 Subject: GHS: use INSTALL target For consistancy use upper case install for pre-defined targets. --- Source/cmGlobalGhsMultiGenerator.h | 2 -- Tests/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/cmGlobalGhsMultiGenerator.h b/Source/cmGlobalGhsMultiGenerator.h index 12e9991..e8fe6f8 100644 --- a/Source/cmGlobalGhsMultiGenerator.h +++ b/Source/cmGlobalGhsMultiGenerator.h @@ -81,8 +81,6 @@ public: // Write the common disclaimer text at the top of each build file. void WriteFileHeader(std::ostream& fout); - const char* GetInstallTargetName() const override { return "install"; } - protected: void Generate() override; std::vector GenerateBuildCommand( diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 9ac42a6..e39cdaf 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2319,7 +2319,7 @@ if(BUILD_TESTING) endmacro() macro(add_test_GhsMulti_rename_install test_name) add_test_GhsMulti( ${test_name} GhsMultiRenameInstall ${test_name} - "-DCMAKE_INSTALL_PREFIX=. -DRUN_TEST=${test_name}" ${CMAKE_CMAKE_COMMAND} --build . --target install) + "-DCMAKE_INSTALL_PREFIX=. -DRUN_TEST=${test_name}" ${CMAKE_CMAKE_COMMAND} --build . --target INSTALL) endmacro() #unset ghs config variables unset(ghs_config_name) -- cgit v0.12