mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-24 18:28:44 +00:00
Merge pull request #10829 from AdmiralCurtiss/spirv-cross-cmake-fix
Fix CMake Windows build after #10673 (HLSL from SPIRV).
This commit is contained in:
commit
6e09b13ce3
2 changed files with 10 additions and 0 deletions
|
@ -14,6 +14,15 @@ PUBLIC
|
|||
spirv_cross
|
||||
)
|
||||
|
||||
target_include_directories(videod3dcommon
|
||||
SYSTEM PUBLIC
|
||||
${CMAKE_SOURCE_DIR}/Externals/glslang/glslang/Public
|
||||
SYSTEM PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/Externals/glslang/StandAlone
|
||||
${CMAKE_SOURCE_DIR}/Externals/glslang/SPIRV
|
||||
${CMAKE_SOURCE_DIR}/Externals/glslang
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
# Add precompiled header
|
||||
target_link_libraries(videod3dcommon PRIVATE use_pch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue