Use raylib 5.0 in CMakeLists.txt requirement
All checks were successful
Run UnitTests / build-and-run-tests (push) Successful in 57s
All checks were successful
Run UnitTests / build-and-run-tests (push) Successful in 57s
This commit is contained in:
parent
79508e5527
commit
7b9dd21ddd
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue