From d79760aaa8bba14e9fe8cf8be945ae25428649e8 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 6 Mar 2023 20:26:26 +0900 Subject: [PATCH] Specify Raylib dep version in CMakeLists.txt --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a60c82..573025c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,9 +51,9 @@ target_link_libraries(Triangles PUBLIC TrianglesLib) target_compile_features(TrianglesLib PUBLIC cxx_std_17) if(BUILD_SHARED_LIBS OR (UNIX AND NOT CYGWIN) OR (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")) - find_package(raylib REQUIRED) + find_package(raylib 4.2 REQUIRED) else() - find_package(raylib REQUIRED) + find_package(raylib 4.2 REQUIRED) endif() if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")