vcpkg/ports/shaderc/glslang/CMakeLists.txt
Luke 071f53715b
[glslang] Update to 11.1.0 (#15719)
* [shaderc] remove port since it does not build

* [glslang] updated to version 11.1.0

* [glslang] Add python path

* [glslang] baseline.json and glslang.json updated

* Update portfile.cmake

* Update CONTROL

* Update port_versions

* Update port_versions

* Update port_versions

* Update port_versions

* Update port_versions

* [glslang] port update to version 11.4.0

* [glslang] port version removed from json

* [glslang] remove shaderc

* [glslang] baseline update

* [glslang] versions hash update

* [glslang] portfile format fix + use of ${PORT}

* [glslang] new hash

* [glslang] revert portfile back

* [glslang] portfile apply changes

* [glslang] update hash for x86 windows

* [glslang] update to 1.5.0

* [glslang] git-tree hash update

* [glslang] remove old version 1.4.0

* [glslang] git-tree hash update

* [glslang][shaderc] Update and fix targets to match upstream

* Update versions

Co-authored-by: Lukas Lipp <llipp@cg.tuwien.ac.at>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: JonLiu1993 <13720414433@163.com>
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-07-15 07:00:19 -07:00

14 lines
619 B
CMake

cmake_minimum_required(VERSION 3.11)
find_package(glslang CONFIG REQUIRED)
set_property(TARGET glslang PROPERTY IMPORTED_GLOBAL TRUE)
set_property(TARGET OSDependent PROPERTY IMPORTED_GLOBAL TRUE)
set_property(TARGET OGLCompiler PROPERTY IMPORTED_GLOBAL TRUE)
set_property(TARGET HLSL PROPERTY IMPORTED_GLOBAL TRUE)
set_property(TARGET SPIRV PROPERTY IMPORTED_GLOBAL TRUE)
set_property(TARGET MachineIndependent PROPERTY IMPORTED_GLOBAL TRUE)
find_path(glslang_SOURCE_DIR glslang/Public/ShaderLang.h)
set(glslang_SOURCE_DIR "${glslang_SOURCE_DIR}/glslang" "${glslang_SOURCE_DIR}" CACHE STRING "" FORCE)