vcpkg/ports/raylib/vcpkg-cmake-wrapper.cmake
myd7349 af248a0709 [raylib] Add new port (fix #4500) (#5946)
* [raylib] Add new port (fix #4500)

* [raylib] Update to 2019-04-27

* [raylib] Bump version number

* [raylib] Minor fixes

* [raylib] Fix Threads_FOUND not defined error on Ubuntu

* [raylib] Bump version number

* Add system dependencies message

* [raylib] Display dependencies message on UNIX

* Modify message to appear based on build target, not build host
2019-05-19 17:43:29 -07:00

15 lines
426 B
CMake

set(raylib_USE_STATIC_LIBS @STATIC@)
_find_package(${ARGS})
if(raylib_FOUND)
get_filename_component(_raylib_lib_name ${raylib_LIBRARY} NAME)
set(raylib_LIBRARY
debug ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib/${_raylib_lib_name}
optimized ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/${_raylib_lib_name}
)
set(raylib_LIBRARIES ${raylib_LIBRARY})
endif()