From a53ea2d5aae4b46cd1d41fcfb194f028802b0e8c Mon Sep 17 00:00:00 2001 From: G3bE Date: Sun, 8 Mar 2020 21:31:52 +1000 Subject: [PATCH] Always use latest raylib version --- examples/CMakeLists.txt | 2 +- games/CMakeLists.txt | 2 +- games/drturtle/CMakeLists.txt | 2 +- games/just_do/CMakeLists.txt | 2 +- games/koala_seasons/CMakeLists.txt | 2 +- games/light_my_ritual/CMakeLists.txt | 2 +- games/skully_escape/CMakeLists.txt | 2 +- games/wave_collector/CMakeLists.txt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 2879320c4..13c4b1629 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -96,7 +96,7 @@ endif() include_directories(BEFORE SYSTEM others/external/include) if (NOT TARGET raylib) - find_package(raylib 2.0 REQUIRED) + find_package(raylib REQUIRED) endif() # Do each example diff --git a/games/CMakeLists.txt b/games/CMakeLists.txt index 1a933c06c..93d55c2cf 100644 --- a/games/CMakeLists.txt +++ b/games/CMakeLists.txt @@ -1,7 +1,7 @@ # Setup the project and settings project(games) -# Get the source toegher +# Get the source together file(GLOB sources *.c) set(OUTPUT_EXT) diff --git a/games/drturtle/CMakeLists.txt b/games/drturtle/CMakeLists.txt index f5778d9cb..7c98937dd 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 2.0 REQUIRED) + find_package(raylib REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) diff --git a/games/just_do/CMakeLists.txt b/games/just_do/CMakeLists.txt index f25b6e379..f6cefddfe 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 2.0 REQUIRED) + find_package(raylib REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) diff --git a/games/koala_seasons/CMakeLists.txt b/games/koala_seasons/CMakeLists.txt index 7e500d1ee..d60ffbddd 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 2.0 REQUIRED) + find_package(raylib 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 a35a34e06..3b1b4f65b 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 2.0 REQUIRED) + find_package(raylib REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) diff --git a/games/skully_escape/CMakeLists.txt b/games/skully_escape/CMakeLists.txt index 51047ca14..fcffdb755 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 2.0 REQUIRED) + find_package(raylib REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib) diff --git a/games/wave_collector/CMakeLists.txt b/games/wave_collector/CMakeLists.txt index a87dbeda8..633dc0f5a 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 2.0 REQUIRED) + find_package(raylib REQUIRED) endif() target_link_libraries(${PROJECT_NAME} raylib)