diff options
| author | lesleyrs <[email protected]> | 2023-05-14 21:15:32 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-14 21:15:32 +0200 |
| commit | 818312683ee92efde550f7eaa88fcceb773eaf0b (patch) | |
| tree | 9b4c0ad64b020b75ddde6f74d7023ad9fa516b92 /projects | |
| parent | cc17a7656c04e114ca67771f89b0fb8f493f8a1f (diff) | |
| download | raylib-818312683ee92efde550f7eaa88fcceb773eaf0b.tar.gz raylib-818312683ee92efde550f7eaa88fcceb773eaf0b.zip | |
update cmake example project (#3062)
* update cmake example project
* off is the correct one
Diffstat (limited to 'projects')
| -rw-r--r-- | projects/CMake/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/CMake/CMakeLists.txt b/projects/CMake/CMakeLists.txt index cfd924fb..cc606a4a 100644 --- a/projects/CMake/CMakeLists.txt +++ b/projects/CMake/CMakeLists.txt @@ -5,12 +5,13 @@ project(example) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # Dependencies -set(RAYLIB_VERSION 4.2.0) +set(RAYLIB_VERSION 4.5.0) find_package(raylib ${RAYLIB_VERSION} QUIET) # QUIET or REQUIRED if (NOT raylib_FOUND) # If there's none, fetch and build raylib include(FetchContent) FetchContent_Declare( raylib + DOWNLOAD_EXTRACT_TIMESTAMP OFF URL https://github.com/raysan5/raylib/archive/refs/tags/${RAYLIB_VERSION}.tar.gz ) FetchContent_GetProperties(raylib) |
