diff options
| author | Phoebe <925731795@qq.com> | 2019-08-01 04:01:02 +0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-07-31 13:01:02 -0700 |
| commit | bcff929875d76ade98c251038eea6f48171facc6 (patch) | |
| tree | de7aa57e4bde6cedd1a0a5cca1eecc56a8929a9c /ports/shaderc | |
| parent | 80b187ad64ebcd5cbab7fab982c04e6862076d8e (diff) | |
| download | vcpkg-bcff929875d76ade98c251038eea6f48171facc6.tar.gz vcpkg-bcff929875d76ade98c251038eea6f48171facc6.zip | |
Add PREFER_NINJA to many ports (#7468)
* Add PREFER_NINJA to many ports
Diffstat (limited to 'ports/shaderc')
| -rw-r--r-- | ports/shaderc/CONTROL | 2 | ||||
| -rw-r--r-- | ports/shaderc/portfile.cmake | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ports/shaderc/CONTROL b/ports/shaderc/CONTROL index 044fdd410..0878b17be 100644 --- a/ports/shaderc/CONTROL +++ b/ports/shaderc/CONTROL @@ -1,5 +1,5 @@ Source: shaderc -Version: 2019-06-26 +Version: 2019-06-26-1 Homepage: https://github.com/google/shaderc Description: A collection of tools, libraries and tests for shader compilation. Build-Depends: glslang, spirv-tools
\ No newline at end of file diff --git a/ports/shaderc/portfile.cmake b/ports/shaderc/portfile.cmake index fbdc1e4dd..297842296 100644 --- a/ports/shaderc/portfile.cmake +++ b/ports/shaderc/portfile.cmake @@ -32,6 +32,7 @@ vcpkg_add_to_path(PREPEND "${PYTHON3_EXE_PATH}") vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA OPTIONS -DSHADERC_SKIP_TESTS=true ${OPTIONS} -Dglslang_SOURCE_DIR=${CURRENT_INSTALLED_DIR}/include -Dspirv-tools_SOURCE_DIR=${CURRENT_INSTALLED_DIR}/include OPTIONS_DEBUG -DSUFFIX_D=true OPTIONS_RELEASE -DSUFFIX_D=false |
