diff --git a/cmake/raylib-config.cmake b/cmake/raylib-config.cmake index 700965c..4815cd6 100644 --- a/cmake/raylib-config.cmake +++ b/cmake/raylib-config.cmake @@ -65,7 +65,7 @@ if (NOT TARGET raylib) IMPORTED_LOCATION "${raylib_LIBRARIES}" IMPORTED_IMPLIB "${raylib_LIBRARIES}" INTERFACE_INCLUDE_DIRECTORIES "${raylib_INCLUDE_DIRS}" - INTERFACE_LINK_LIBRARIES "${raylib_LDFLAGS}" + INTERFACE_LINK_LIBRARIES "${raylib_LIBRARIES}" INTERFACE_COMPILE_OPTIONS "${raylib_DEFINITIONS}" )