diff options
| author | Ahmad Fatoum <[email protected]> | 2020-03-09 08:29:47 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-09 08:29:47 +0100 |
| commit | eb6f8bd0baa3621e27c64a864f3e9871883f515f (patch) | |
| tree | b60a9ed63f20cc3d4bdf760e3e7c5be60bd8d083 /games | |
| parent | b7c0d5b6ddfb8fd958803db837e1839ea54f6d37 (diff) | |
| download | raylib-eb6f8bd0baa3621e27c64a864f3e9871883f515f.tar.gz raylib-eb6f8bd0baa3621e27c64a864f3e9871883f515f.zip | |
Revert "Always use latest raylib version for cmake (#1123)" (#1126)
We didn't use the latest version, but a compatible version, which is established by raylib-config-version.cmake.
It's ok to have a minimal version, so revert b7c0d5b6ddfb8fd958803db837e1839ea54f6d37.
Diffstat (limited to 'games')
| -rw-r--r-- | games/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | games/drturtle/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | games/just_do/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | games/koala_seasons/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | games/light_my_ritual/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | games/skully_escape/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | games/wave_collector/CMakeLists.txt | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/games/CMakeLists.txt b/games/CMakeLists.txt index 93d55c2c..90a5ed08 100644 --- a/games/CMakeLists.txt +++ b/games/CMakeLists.txt @@ -1,7 +1,7 @@ # Setup the project and settings project(games) -# Get the source together +# Get the source toegher file(GLOB sources *.c) set(OUTPUT_EXT) @@ -18,7 +18,7 @@ if(${PLATFORM} MATCHES "Web") endif() if (NOT TARGET raylib) - find_package(raylib REQUIRED) + find_package(raylib 2.0 REQUIRED) endif() # Do each game diff --git a/games/drturtle/CMakeLists.txt b/games/drturtle/CMakeLists.txt index 7c98937d..f5778d9c 100644 --- a/games/drturtle/CMakeLists.txt +++ b/games/drturtle/CMakeLists.txt @@ -4,7 +4,7 @@ project(drturtle) # Executable & linking add_executable(${PROJECT_NAME} 06_drturtle_final.c) if (NOT TARGET raylib) - find_package(raylib REQUIRED) + find_package(raylib 2.0 REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) diff --git a/games/just_do/CMakeLists.txt b/games/just_do/CMakeLists.txt index f6cefddf..f25b6e37 100644 --- a/games/just_do/CMakeLists.txt +++ b/games/just_do/CMakeLists.txt @@ -7,7 +7,7 @@ file(GLOB screen_sources "screens/*.c") # Executable & linking add_executable(${PROJECT_NAME} ${PROJECT_NAME}.c ${screen_sources}) if (NOT TARGET raylib) - find_package(raylib REQUIRED) + find_package(raylib 2.0 REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) diff --git a/games/koala_seasons/CMakeLists.txt b/games/koala_seasons/CMakeLists.txt index d60ffbdd..7e500d1e 100644 --- a/games/koala_seasons/CMakeLists.txt +++ b/games/koala_seasons/CMakeLists.txt @@ -7,7 +7,7 @@ file(GLOB screen_sources "screens/*.c") # Executable & linking add_executable(${PROJECT_NAME} ${PROJECT_NAME}.c ${screen_sources}) if (NOT TARGET raylib) - find_package(raylib REQUIRED) + find_package(raylib 2.0 REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) diff --git a/games/light_my_ritual/CMakeLists.txt b/games/light_my_ritual/CMakeLists.txt index 3b1b4f65..a35a34e0 100644 --- a/games/light_my_ritual/CMakeLists.txt +++ b/games/light_my_ritual/CMakeLists.txt @@ -7,7 +7,7 @@ file(GLOB screen_sources "screens/*.c") # Executable & linking add_executable(${PROJECT_NAME} ${PROJECT_NAME}.c ${screen_sources}) if (NOT TARGET raylib) - find_package(raylib REQUIRED) + find_package(raylib 2.0 REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) diff --git a/games/skully_escape/CMakeLists.txt b/games/skully_escape/CMakeLists.txt index fcffdb75..51047ca1 100644 --- a/games/skully_escape/CMakeLists.txt +++ b/games/skully_escape/CMakeLists.txt @@ -7,7 +7,7 @@ file(GLOB screen_sources "screens/*.c") # Executable & linking add_executable(${PROJECT_NAME} skully_escape.c player.c monster.c ${screen_sources}) if (NOT TARGET raylib) - find_package(raylib REQUIRED) + find_package(raylib 2.0 REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) diff --git a/games/wave_collector/CMakeLists.txt b/games/wave_collector/CMakeLists.txt index 633dc0f5..a87dbeda 100644 --- a/games/wave_collector/CMakeLists.txt +++ b/games/wave_collector/CMakeLists.txt @@ -7,7 +7,7 @@ file(GLOB screen_sources "screens/*.c") # Executable & linking add_executable(${PROJECT_NAME} ${PROJECT_NAME}.c ${screen_sources}) if (NOT TARGET raylib) - find_package(raylib REQUIRED) + find_package(raylib 2.0 REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) |
