Fix ImGui include path handling to be consistent with other external libs

This commit is contained in:
Stephen Saunders 2023-01-25 12:27:32 -05:00
parent dfcbcc2a0a
commit ace8829cda
8 changed files with 8 additions and 7 deletions

View file

@ -348,6 +348,7 @@ else (JPEG_FOUND)
set(JPEG_LIBRARY "" )
endif (JPEG_FOUND)
include_directories("libs/imgui")
macro(SET_OPTION option value)
set(${option} ${value} CACHE "" INTERNAL FORCE)

View file

@ -2,7 +2,7 @@
#ifndef NEO_IMGUI_BFGIMGUI_H_
#define NEO_IMGUI_BFGIMGUI_H_
#include "libs/imgui/imgui.h"
#include "imgui.h"
#include "../idlib/math/Vector.h"

View file

@ -32,7 +32,7 @@ If you have questions concerning this license or the applicable additional terms
#pragma hdrstop
#include "RenderCommon.h"
#include "libs/imgui/imgui.h"
#include "imgui.h"
const float idGuiModel::STEREO_DEPTH_NEAR = 0.0f;
const float idGuiModel::STEREO_DEPTH_MID = 0.5f;

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#pragma hdrstop
#include "libs/imgui/imgui.h"
#include "imgui.h"
#include "RenderCommon.h"
#include "SMAA/AreaTex.h"

View file

@ -35,7 +35,7 @@ If you have questions concerning this license or the applicable additional terms
#include "../RenderCommon.h"
#include "../RenderBackend.h"
#include "../../framework/Common_local.h"
#include "../../imgui/imgui.h"
#include "imgui.h"
#include "../ImmediateMode.h"
#include "nvrhi/utils.h"

View file

@ -32,7 +32,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#pragma hdrstop
#include "libs/imgui/imgui.h"
#include "imgui.h"
#include "RenderCommon.h"

View file

@ -30,7 +30,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#pragma hdrstop
#include "../imgui/imgui.h"
#include "imgui.h"
#include "Imgui_IdWidgets.h"

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#include "DeviceContext.h"
#include "libs/imgui/imgui.h"
#include "imgui.h"
#include "../renderer/RenderCommon.h"
extern idCVar in_useJoystick;