raylib/cmake
Ahmad Fatoum 47137b1489
CMake: fix dependency build with -Draylib_USE_STATIC_LIBS=ON
Fixes #899, which made apparent three issues with how static libraries
are handled in raylib-config.cmake:

- XPREFIX is set before pkg_check_modules, which causes a duplicate
  STATIC in variables, e.g. PC_RAYLIB_STATIC_STATIC_.*
- raylib_static is searched for, but no library exists with that name
- raylib_LDFLAGS isn't populated properly

This commit fixes these.
2019-07-24 00:12:38 +02:00
..
AddIfFlagCompiles.cmake
BuildType.cmake
CheckFileSystemSymlinkSupport.cmake
emscripten.cmake
EnumOption.cmake
LibraryPathToLinkerFlags.cmake CMake: Major cleanup to support find_package(raylib) 2018-07-29 12:35:35 +02:00
PopulateConfigVariablesLocally.cmake CMake: Major cleanup to support find_package(raylib) 2018-07-29 12:35:35 +02:00
raylib-config-version.cmake CMake: Major cleanup to support find_package(raylib) 2018-07-29 12:35:35 +02:00
raylib-config.cmake CMake: fix dependency build with -Draylib_USE_STATIC_LIBS=ON 2019-07-24 00:12:38 +02:00
test-pkgconfig.sh