diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0b14a50..7705e4a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,9 @@ +SET(LOCAL_RAYLIB "" CACHE PATH "Path to a local raylib installation") + +IF(LOCAL_RAYLIB) + SET(CMAKE_PREFIX_PATH ${LOCAL_RAYLIB}) +ENDIF() + FIND_PACKAGE(glfw3 REQUIRED) FIND_PACKAGE(raylib REQUIRED) |
