mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 10:20:56 -06:00
CMake: fix violations of #pragma once check
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
loosely into four groups 1) Utility 2) cmMakefile 3) cmSourceFile 4)
|
||||
cmSystemTools. Within each grouping functions are listed alphabetically */
|
||||
/*=========================================================================*/
|
||||
#ifndef cmCPluginAPI_h
|
||||
#ifndef cmCPluginAPI_h /* NOLINT(cmake-use-pragma-once) */
|
||||
#define cmCPluginAPI_h
|
||||
|
||||
#define CMAKE_VERSION_MAJOR 2
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#pragma once
|
||||
|
||||
#define CMake_VERSION_MAJOR @CMake_VERSION_MAJOR@
|
||||
#define CMake_VERSION_MINOR @CMake_VERSION_MINOR@
|
||||
#define CMake_VERSION_PATCH @CMake_VERSION_PATCH@
|
||||
|
||||
Reference in New Issue
Block a user