mirror of https://github.com/microsoft/vcpkg.git
fix: add more supports for basisu (#48898)
This commit is contained in:
parent
5d70180b00
commit
48d868d57e
|
|
@ -21,11 +21,17 @@ vcpkg_from_github(
|
|||
)
|
||||
file(REMOVE_RECURSE "${SOURCE_PATH}/zstd")
|
||||
|
||||
set(SSE_FLAG OFF)
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
|
||||
set(SSE_FLAG ON)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DCMAKE_CXX_STANDARD=17
|
||||
-DBASISU_SYSTEM_ZSTD=ON
|
||||
-DSSE=${SSE_FLAG}
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "basisu",
|
||||
"version": "1.60",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Basis Universal is a supercompressed GPU texture and video compression format that outputs a highly compressed intermediate file format (.basis) that can be quickly transcoded to a wide variety of GPU texture compression formats.",
|
||||
"homepage": "https://github.com/BinomialLLC/basis_universal",
|
||||
"license": null,
|
||||
"supports": "(x86 | x64) & !android",
|
||||
"supports": "!android",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4fdb1c26742dee24aa7aff9f38cc3bac34c37473",
|
||||
"version": "1.60",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "2bcab45033ade47ca63b04939eb770fe5b60a7f5",
|
||||
"version": "1.60",
|
||||
|
|
|
|||
|
|
@ -634,7 +634,7 @@
|
|||
},
|
||||
"basisu": {
|
||||
"baseline": "1.60",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"bbalouki-itch": {
|
||||
"baseline": "1.1.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue