--Code Changes

-Test if directories exist before adding to INCLUDEPATH
    Fixes all 190 instances of [-Wmissing-include-dirs] for me
This commit is contained in:
Seth Troisi 2022-02-12 17:10:05 -08:00
parent 55014fd83a
commit 345262a6cc

View File

@ -50,10 +50,16 @@ win32 {
#INCLUDEPATH += /usr/include
INCLUDEPATH += /usr/local/include
INCLUDEPATH += /usr/include/GL
exists( /usr/local/include/GL ) {
INCLUDEPATH += /usr/local/include/GL
}
INCLUDEPATH += /usr/include/glm
exists( /usr/local/include/GL ) {
INCLUDEPATH += /usr/include/Imath
}
exists( /usr/include/OpenEXR ) {
INCLUDEPATH += /usr/include/OpenEXR
}
unix:!macx {
INCLUDEPATH += /usr/include/libxml2