Skip to content

Commit 1743c12

Browse files
committed
encoder: allow to build without shaderc dep 2
Fixup of 62138ad
1 parent a93bae0 commit 1743c12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vk_video_encoder/demos/vk-video-enc/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ if(TARGET vulkan)
121121
list(APPEND definitions PRIVATE -DUNINSTALLED_LOADER="$<TARGET_FILE:vulkan>")
122122
endif()
123123

124+
if(USE_SHADERC)
125+
list(APPEND definitions PRIVATE -DSHADERC_SUPPORT)
126+
endif()
127+
124128
if(WIN32)
125129
list(APPEND definitions PRIVATE -DVK_USE_PLATFORM_WIN32_KHR)
126130
list(APPEND definitions PRIVATE -DWIN32_LEAN_AND_MEAN)

0 commit comments

Comments
 (0)