cmake: Don't use PCH with Qt6.

This commit is contained in:
Admiral H. Curtiss 2022-05-22 01:19:44 +02:00
commit 580c721c82
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
19 changed files with 90 additions and 3 deletions

View file

@ -62,3 +62,8 @@ SYSTEM PRIVATE
${CMAKE_SOURCE_DIR}/Externals/glslang/SPIRV
${CMAKE_SOURCE_DIR}/Externals/glslang
)
if(MSVC)
# Add precompiled header
target_link_libraries(videovulkan PRIVATE use_pch)
endif()