diff options
| author | Marco G. Maia <[email protected]> | 2022-03-08 14:58:27 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-08 18:58:27 +0100 |
| commit | c5d2cc8e66045f0fd5fa2321679863b8aff10211 (patch) | |
| tree | 109881c25011102400d1dabad5e5e7d466bc5f1b /cmake | |
| parent | 7584ce6f48ae58c625fce1718319d7d046503c41 (diff) | |
| download | raylib-c5d2cc8e66045f0fd5fa2321679863b8aff10211.tar.gz raylib-c5d2cc8e66045f0fd5fa2321679863b8aff10211.zip | |
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
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/raylib-config.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/raylib-config.cmake b/cmake/raylib-config.cmake index b5358740..0af53065 100644 --- a/cmake/raylib-config.cmake +++ b/cmake/raylib-config.cmake @@ -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}" |
