mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-28 17:59:17 -05:00
Typo
@ -4,7 +4,7 @@ If you know that anyone who builds your project, has raylib already installed, a
|
|||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.15)
|
||||||
project(my_project)
|
project(my_project)
|
||||||
|
|
||||||
find_package(raylib 2.5.0 REQUIRED) # Requires at least versionn 2.5.0
|
find_package(raylib 2.5.0 REQUIRED) # Requires at least version 2.5.0
|
||||||
|
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ To build, use these commands:
|
|||||||
```cmake
|
```cmake
|
||||||
mkdir build # Create a build directory
|
mkdir build # Create a build directory
|
||||||
cd build && cmake .. # Build from that directory so the build files are in one place
|
cd build && cmake .. # Build from that directory so the build files are in one place
|
||||||
cmake --build . # Actually build the project
|
cmake --build . # Build the project
|
||||||
```
|
```
|
||||||
|
|
||||||
## Loading raylib inside cmake
|
## Loading raylib inside cmake
|
||||||
|
|||||||
Reference in New Issue
Block a user