mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
Remove unnecessary c_str() calls
Use the new IsOn(),IsOff() overloads.
This commit is contained in:
committed by
Brad King
parent
612975c665
commit
6f16be6a62
@@ -120,7 +120,7 @@ void cmIncludeDirectoryCommand::NormalizeInclude(std::string& inc)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!cmSystemTools::IsOff(inc.c_str())) {
|
||||
if (!cmSystemTools::IsOff(inc)) {
|
||||
cmSystemTools::ConvertToUnixSlashes(inc);
|
||||
|
||||
if (!cmSystemTools::FileIsFullPath(inc)) {
|
||||
|
||||
Reference in New Issue
Block a user