diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2016-09-26 21:16:59 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2016-09-26 21:16:59 +0300 |
| commit | a84ee52188111dc44724fdde47f131b9e6465511 (patch) | |
| tree | 2392a3aeef91382d42b3bebf9828f2a5879b7093 | |
| parent | 775294a6527a8273b372ede43d94ed0084f2be73 (diff) | |
| download | rayskeleton-a84ee52188111dc44724fdde47f131b9e6465511.tar.gz rayskeleton-a84ee52188111dc44724fdde47f131b9e6465511.zip | |
Allow to use a local preinstalled raylib
| -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) |
