mirror of https://github.com/raysan5/raylib
Update raylib-config.cmake (#2374)
Updated cmake to windows users. So they can `find_package(raylib [...])` with exported target as raylib instead of ${raylib_LIBRARIES}, etc
This commit is contained in:
parent
7584ce6f48
commit
c5d2cc8e66
|
@ -62,6 +62,7 @@ string (REPLACE ";" " " raylib_LDFLAGS "${raylib_LDFLAGS}")
|
|||
set_target_properties(raylib
|
||||
PROPERTIES
|
||||
IMPORTED_LOCATION "${raylib_LIBRARIES}"
|
||||
IMPORTED_IMPLIB "${raylib_LIBRARIES}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${raylib_INCLUDE_DIRS}"
|
||||
INTERFACE_LINK_LIBRARIES "${raylib_LDFLAGS}"
|
||||
INTERFACE_COMPILE_OPTIONS "${raylib_DEFINITIONS}"
|
||||
|
|
Loading…
Reference in New Issue