Specify Raylib dep version in CMakeLists.txt
This commit is contained in:
parent
ca2b545450
commit
d79760aaa8
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue