From 4a5ec599ae1e966473272e9fab98f86214341a0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Sat, 26 Feb 2022 18:44:15 -0500
Subject: [PATCH] Set WITH_SDL in parent scope so xpdevplus can pick it up.

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

diff --git a/src/conio/CMakeLists.txt b/src/conio/CMakeLists.txt
index 21b1c421b6..86a92cac00 100644
--- a/src/conio/CMakeLists.txt
+++ b/src/conio/CMakeLists.txt
@@ -101,7 +101,7 @@ endif()
 
 if(SDL2_INCLUDE_DIRS)
 	target_include_directories(ciolib PUBLIC ${SDL2_INCLUDE_DIRS})
-	set(WITH_SDL TRUE)
+	set(WITH_SDL TRUE PARENT_SCOPE)
 	target_compile_definitions(ciolib PUBLIC WITH_SDL)
 endif()
 
-- 
GitLab