Always use latest raylib version
This commit is contained in:
parent
9ae8d0b26e
commit
a53ea2d5aa
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user