From ee6a8e9145d3d6dc18d7427a04ee764b9b6502b5 Mon Sep 17 00:00:00 2001
From: Stephen Hurd <deuce@synchro.net>
Date: Fri, 25 Feb 2022 03:09:31 -0500
Subject: [PATCH] It seems /FI doesn't work with /I... use full path

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6c3b272..e0f2c78 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ include("FetchContent")
 include(ExternalProject)
 
 if(MSVC)
-	add_compile_options("SHELL:/FI xpdevplus.h")
+	add_compile_options("SHELL:/FI ${XPDevPlus_BINARY_DIR}/xpdevplus.h")
 else()
 	add_compile_options("SHELL:-include xpdevplus.h")
 endif()
-- 
GitLab