13 строки
475 B
CMake
13 строки
475 B
CMake
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License.
|
|
|
|
set(SPIRV_Headers_REV "3fdabd0da2932c276b25b9b4a988ba134eba1aa6")
|
|
|
|
UpdateExternalLib("SPIRV-Headers" "https://github.com/KhronosGroup/SPIRV-Headers.git" ${SPIRV_Headers_REV})
|
|
|
|
add_subdirectory(SPIRV-Headers EXCLUDE_FROM_ALL)
|
|
foreach(target
|
|
"install-headers" "SPIRV-Headers-example")
|
|
set_target_properties(${target} PROPERTIES FOLDER "External/SPIRV-Headers")
|
|
endforeach()
|