mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 13:13:34 +08:00
set glslangdir and glslang lib interface_include_directories in shaderc cmakelist.
This commit is contained in:
parent
f76244f700
commit
27a4067bdf
@ -15,6 +15,8 @@ ENDIF()
|
||||
|
||||
add_library(glslang STATIC IMPORTED GLOBAL)
|
||||
set_property(TARGET glslang PROPERTY IMPORTED_LOCATION "${GLSLANG}")
|
||||
set(glslang_SOURCE_DIR "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include" CACHE STRING "glslang source dir")
|
||||
set_property(TARGET glslang APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include")
|
||||
|
||||
add_library(OSDependent STATIC IMPORTED GLOBAL)
|
||||
set_property(TARGET OSDependent PROPERTY IMPORTED_LOCATION "${OSDEPENDENT}")
|
||||
|
Loading…
Reference in New Issue
Block a user