Browse Source

Include SUPPORT_DATA_STORAGE flag for building with CMake (#1515)

* Update CMakeOptions.txt

* Update config.h.in
pull/1516/head
Kirottu 4 years ago
committed by GitHub
parent
commit
22da9087b1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      src/CMakeOptions.txt
  2. +2
    -0
      src/config.h.in

+ 1
- 0
src/CMakeOptions.txt View File

@ -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)

+ 2
- 0
src/config.h.in View File

@ -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)

Loading…
Cancel
Save