diff options
author | lat9nq <[email protected]> | 2022-07-25 13:02:09 -0400 |
---|---|---|
committer | lat9nq <[email protected]> | 2022-07-28 16:01:47 -0400 |
commit | dfc6dd0a2d4ccb84767987d1f316ce57c19ff62d (patch) | |
tree | eadbf859946e21504fd3493ec804d4f8f53e2201 /vcpkg.json | |
parent | 52dd68cfff8631d273669010d23428fa0217f1af (diff) | |
download | yuzu-android-dfc6dd0a2d4ccb84767987d1f316ce57c19ff62d.tar.gz yuzu-android-dfc6dd0a2d4ccb84767987d1f316ce57c19ff62d.zip |
cmake,ci: vcpkg for MSVC default, fix lz4 include, catch2, cleanup
vcpkg: Add Catch2 2.13.9
Catch2 >= 3.0 is not compatible with earlier versions, and for now we
must override the desired version in our vcpkg manifest. We can do this
programmatically by using VCPKG_MANIFEST_FEATURES.
CMakeLists: Search for lz4 CONFIG mode first
vcpkg's lz4 CONFIG cmake script works in Release mode but not in Debug
mode, failing to copy the correct DLLs at compile time.
We still need to search for the regular mode for system-installed
versions.
CMakeLists: Clean up boost exports
Remove some Conan-specific workarounds.
CMakeLists: Use vcpkg for MSVC by default
Not enabling it generally since it's much easier to have system
dependencies installed for Linux and MinGW.
Diffstat (limited to 'vcpkg.json')
-rw-r--r-- | vcpkg.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg.json b/vcpkg.json index 8d3c5919a..b247f7386 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json", "name": "yuzu", + "builtin-baseline": "cef0b3ec767df6e83806899fe9525f6cf8d7bc91", "version": "1.0", "dependencies": [ "boost-algorithm", @@ -25,5 +26,17 @@ "nlohmann-json", "zlib", "zstd" + ], + "features": { + "yuzu-tests": { + "description": "Compile tests", + "dependencies": [ "catch2" ] + } + }, + "overrides": [ + { + "name": "catch2", + "version": "2.13.9" + } ] } |