mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 17:09:01 +08:00
d4ba955db2
* [raylib] Fix usage * Update ports/raylib/CONTROL * Update versions * Update versions/r-/raylib.json
12 lines
594 B
CMake
12 lines
594 B
CMake
include(SelectLibraryConfigurations)
|
|
|
|
find_path(RAYLIB_INCLUDE_DIR raylib.h)
|
|
|
|
find_library(RAYLIB_LIBRARY_DEBUG NAMES raylib libraylib raylib_static NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug" NO_DEFAULT_PATH REQUIRED)
|
|
find_library(RAYLIB_LIBRARY_RELEASE NAMES raylib libraylib raylib_static NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" NO_DEFAULT_PATH REQUIRED)
|
|
|
|
select_library_configurations(RAYLIB)
|
|
|
|
set(RAYLIB_INCLUDE_DIRS ${RAYLIB_INCLUDE_DIR})
|
|
set(RAYLIB_LIBRARIES ${RAYLIB_LIBRARY})
|