[raylib] Fix MinGW build (#18362)

.
This commit is contained in:
Leonid Pospelov 2021-06-15 21:53:40 +03:00 committed by GitHub
parent d955e62d7e
commit 6bbafb22a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

View File

@ -30,6 +30,12 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
use-audio USE_AUDIO
)
if(VCPKG_TARGET_IS_MINGW)
set(DEBUG_ENABLE_SANITIZERS OFF)
else()
set(DEBUG_ENABLE_SANITIZERS ON)
endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
@ -41,8 +47,8 @@ vcpkg_configure_cmake(
-DUSE_EXTERNAL_GLFW=OFF # externl glfw3 causes build errors on Windows
${FEATURE_OPTIONS}
OPTIONS_DEBUG
-DENABLE_ASAN=ON
-DENABLE_UBSAN=ON
-DENABLE_ASAN=${DEBUG_ENABLE_SANITIZERS}
-DENABLE_UBSAN=${DEBUG_ENABLE_SANITIZERS}
-DENABLE_MSAN=OFF
OPTIONS_RELEASE
-DENABLE_ASAN=OFF

View File

@ -1,6 +1,7 @@
{
"name": "raylib",
"version-semver": "3.7.0",
"port-version": 1,
"description": "A simple and easy-to-use library to enjoy videogames programming",
"homepage": "https://github.com/raysan5/raylib",
"supports": "!(arm | uwp)",

View File

@ -5430,7 +5430,7 @@
},
"raylib": {
"baseline": "3.7.0",
"port-version": 0
"port-version": 1
},
"rbdl": {
"baseline": "2.6.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e27352fbab2a4e815a478265032a4faa60d34060",
"version-semver": "3.7.0",
"port-version": 1
},
{
"git-tree": "197576ef49480a84f0d5a4d153a1d9416b8230fc",
"version-semver": "3.7.0",