GHS: use INSTALL target

For consistancy use upper case install for pre-defined targets.
This commit is contained in:
Fred Baksik
2022-03-16 16:25:13 -04:00
parent a645287784
commit b3e9c72901
2 changed files with 1 additions and 3 deletions

View File

@@ -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<GeneratedMakeCommand> GenerateBuildCommand(

View File

@@ -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)