mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
Tests/IncludeDirectories: Include system headers via angle brackets
This is typically how projects include them, and cl's `-external:{I,W}` flags suppress warnings only when included through angle brackets.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
#include "config_iface.h"
|
||||
#include <config_iface.h>
|
||||
|
||||
#include "upstream.h"
|
||||
|
||||
int consumer()
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
#include "systemlib.h"
|
||||
#include <systemlib.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
#ifndef UPSTREAM_H
|
||||
#define UPSTREAM_H
|
||||
|
||||
#include "systemlib.h"
|
||||
#include <systemlib.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport)
|
||||
|
Reference in New Issue
Block a user