From 22da9087b1e9ea8df1fa00778b70c115d34f0c03 Mon Sep 17 00:00:00 2001 From: Kirottu <56396750+Kirottu@users.noreply.github.com> Date: Wed, 6 Jan 2021 21:45:32 +0200 Subject: [PATCH] Include SUPPORT_DATA_STORAGE flag for building with CMake (#1515) * Update CMakeOptions.txt * Update config.h.in --- src/CMakeOptions.txt | 1 + src/config.h.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/CMakeOptions.txt b/src/CMakeOptions.txt index a0f864457..7eff4c89c 100644 --- a/src/CMakeOptions.txt +++ b/src/CMakeOptions.txt @@ -32,6 +32,7 @@ option(SUPPORT_GIF_RECORDING "Allow automatic gif recording of current screen pr option(SUPPORT_BUSY_WAIT_LOOP "Use busy wait loop for timing sync instead of a high-resolution timer" OFF) option(SUPPORT_EVENTS_WAITING "Wait for events passively (sleeping while no events) instead of polling them actively every frame" OFF) option(SUPPORT_HIGH_DPI "Support high DPI displays" OFF) +option(SUPPORT_DATA_STORAGE "Support for persistent data storage" ON) # rlgl.h option(SUPPORT_VR_SIMULATOR "Support VR simulation functionality (stereo rendering)" ON) diff --git a/src/config.h.in b/src/config.h.in index 5f645233e..4cb217b5c 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -21,6 +21,8 @@ #cmakedefine SUPPORT_HIGH_DPI 1 // Support CompressData() and DecompressData() functions #cmakedefine SUPPORT_COMPRESSION_API 1 +// Support for persistent data storage +#cmakedefine SUPPORT_DATA_STORAGE 1 // rlgl.h // Support VR simulation functionality (stereo rendering)