diff options
author | Fred Baksik <fdk17@ftml.net> | 2022-02-17 03:35:47 (GMT) |
---|---|---|
committer | Fred Baksik <fdk17@ftml.net> | 2022-02-17 03:35:47 (GMT) |
commit | 6acf06a2cdbc1a351b0bef43cbef5b29356f4beb (patch) | |
tree | acec3493c3edac5f24115c6b3660d9176d59df19 /Source/cmGhsMultiTargetGenerator.h | |
parent | 1e495fdab92b8ce5f2778c0cbc5e0ed55b056b98 (diff) | |
download | CMake-6acf06a2cdbc1a351b0bef43cbef5b29356f4beb.zip CMake-6acf06a2cdbc1a351b0bef43cbef5b29356f4beb.tar.gz CMake-6acf06a2cdbc1a351b0bef43cbef5b29356f4beb.tar.bz2 |
GHS: fix build event script error on Linux
On Linux run build events scripts as "/bin/sh script.sh".
Prefer using _WIN32 over variable for host platform decisions.
-- This is consistant with other parts of CMake.
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.h')
-rw-r--r-- | Source/cmGhsMultiTargetGenerator.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.h b/Source/cmGhsMultiTargetGenerator.h index e9d7537..9289a72 100644 --- a/Source/cmGhsMultiTargetGenerator.h +++ b/Source/cmGhsMultiTargetGenerator.h @@ -78,6 +78,5 @@ private: std::string TargetNameReal; GhsMultiGpj::Types TagType; std::string const Name; - std::string ConfigName; /* CMAKE_BUILD_TYPE */ - bool const CmdWindowsShell; /* custom commands run in cmd.exe or /bin/sh */ + std::string ConfigName; /* CMAKE_BUILD_TYPE */ }; |