Use raylib 5.0 in CMakeLists.txt requirement
All checks were successful
Run UnitTests / build-and-run-tests (push) Successful in 57s

This commit is contained in:
Stephen Seo 2024-01-24 14:35:34 +09:00
parent 79508e5527
commit 7b9dd21ddd

View file

@ -54,9 +54,9 @@ target_link_libraries(Triangles PUBLIC TrianglesLib)
target_compile_features(TrianglesLib PUBLIC cxx_std_17) target_compile_features(TrianglesLib PUBLIC cxx_std_17)
if(BUILD_SHARED_LIBS OR (UNIX AND NOT CYGWIN) OR (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")) if(BUILD_SHARED_LIBS OR (UNIX AND NOT CYGWIN) OR (CMAKE_CXX_COMPILER_ID MATCHES "MSVC"))
find_package(raylib 4.2 REQUIRED) find_package(raylib 5.0 REQUIRED)
else() else()
find_package(raylib 4.2 REQUIRED) find_package(raylib 5.0 REQUIRED)
endif() endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")