In a source file I do:
#include "ExternalDeps/MyTestLib/myheader.h"
And then inside myheader.h I have:
#pragma once
#include <subfolder/another_header.h>
I get a compiler error saying that it can’t open subfolder/another_header. If however I use use quotation marks instead of angled brackets it works:
#pragma once
#include "subfolder/another_header.h"
My question is why does it work with quotation marks and not with angled brackets? I’m using the boost endianness header only library and in their headers they include other headers in subfolders, and it can’t find them because angled brackets are used.