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 b7c0d5b6dd.
This commit is contained in:
parent
b7c0d5b6dd
commit
eb6f8bd0ba
1 changed files with 10 additions and 10 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue