CMakeLists and RagePhoto C file access improvements

- CMakeLists.txt: CMAKE_CXX_STANDARD -> RAGEPHOTO_CXX_STANDARD
- RagePhoto.c: Fix potential issues with file access
This commit is contained in:
Syping 2024-01-18 19:53:47 +01:00
parent e1cf6df258
commit 1a80125802
6 changed files with 26 additions and 39 deletions

View file

@ -17,7 +17,7 @@ To customise your libragephoto build, the following <a href="#flags">Optional CM
<h4 id="flags">Optional CMake flags</h4>
\code{.sh}
-DCMAKE_CXX_STANDARD=17
-DRAGEPHOTO_CXX_STANDARD=17
-DRAGEPHOTO_BENCHMARK=ON
-DRAGEPHOTO_C_API=OFF
-DRAGEPHOTO_C_LIBRARY=ON