D3DCommon: Add glslang include directories in CMake.

This commit is contained in:
Admiral H. Curtiss 2022-07-10 00:59:32 +02:00
parent cdd8c00159
commit cdd3571491
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB

View File

@ -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)