Get rid of relative include paths

* Use target_include_directories to specify include paths
* Specify project root (parent of rtgui and rtengine) as include path
* Replace relative includes with normal includes
This commit is contained in:
Daniel Gao
2024-11-16 17:20:02 -05:00
parent bc2fbfad66
commit 711f274403
212 changed files with 358 additions and 342 deletions

View File

@@ -23,7 +23,7 @@
#include "options.h"
#include "rtscalable.h"
#include "../rtengine/procparams.h"
#include "rtengine/procparams.h"
PreviewWindow::PreviewWindow () : previewHandler(nullptr), mainCropWin(nullptr), imageArea(nullptr), imgX(0), imgY(0), imgW(0), imgH(0),
zoom(0.0), press_x(0), press_y(0), isMoving(false), needsUpdate(false), cursor_type(CSUndefined)