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 CMake: Move reusable code to new cmake/ directory 2018-05-21 01:08:29 +02:00
BuildType.cmake CMake: Add default build type if none specified 2018-05-21 01:08:28 +02:00
CheckFileSystemSymlinkSupport.cmake CMake: Move reusable code to new cmake/ directory 2018-05-21 01:08:29 +02:00
EnumOption.cmake CMake: Fail when -D{PLATFORM,OPENGL_VERSION}=INVALID_VALUE 2018-07-23 21:00:48 +02:00
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
emscripten.cmake cmake: Fix PLATFORM_WEB build 2018-05-21 12:15:39 +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 Travis CI: Add test case for pkg-config 2018-07-03 21:35:28 +02:00