summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCompileOptionsCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-04 11:15:50 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-09-04 11:16:35 (GMT)
commitb03bc81d62c68c664990bbb4b8b92d23fe9673a8 (patch)
treec9ec6e9df32f5a86d066e9adf7ce7f4beda9f08f /Source/cmAddCompileOptionsCommand.h
parent71aa0c7434ab5f44702f75695eb889b9108c85c9 (diff)
parent5585e8575baecc1b427c1a530c037858ee5f6fd2 (diff)
downloadCMake-b03bc81d62c68c664990bbb4b8b92d23fe9673a8.zip
CMake-b03bc81d62c68c664990bbb4b8b92d23fe9673a8.tar.gz
CMake-b03bc81d62c68c664990bbb4b8b92d23fe9673a8.tar.bz2
Merge topic 'pragma-once'
5585e8575b Help: Add note about #pragma once 407afc0f91 Bootstrap: Use #pragma once in cmThirdParty.h aa7bce8495 Utilities/Scripts: Remove temporary #pragma once conversion script bdca8b01d2 Modernize: Use #pragma once in all header files 093ba4061d Utilities/Scripts: Add temporary #pragma once conversion script Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5171
Diffstat (limited to 'Source/cmAddCompileOptionsCommand.h')
-rw-r--r--Source/cmAddCompileOptionsCommand.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmAddCompileOptionsCommand.h b/Source/cmAddCompileOptionsCommand.h
index b172412..076a427 100644
--- a/Source/cmAddCompileOptionsCommand.h
+++ b/Source/cmAddCompileOptionsCommand.h
@@ -1,7 +1,6 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
-#ifndef cmAddCompileOptionsCommand_h
-#define cmAddCompileOptionsCommand_h
+#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
@@ -12,5 +11,3 @@ class cmExecutionStatus;
bool cmAddCompileOptionsCommand(std::vector<std::string> const& args,
cmExecutionStatus& status);
-
-#endif