Skip to content

Commit

Permalink
D3DCommon: Add glslang include directories in CMake.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiralCurtiss committed Jul 9, 2022
1 parent cdd8c00 commit cdd3571
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Source/Core/VideoBackends/D3DCommon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cdd3571

Please sign in to comment.