mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
Use shaderc_shared and don't build unnecessary targets
This should speed up compilation on Travis a little bit.
This commit is contained in:
committed by
Corentin Wallez
parent
b6fb5f3149
commit
00935daffc
@@ -55,7 +55,7 @@ if (NXT_ENABLE_VULKAN)
|
||||
endif()
|
||||
|
||||
add_library(utils STATIC ${UTILS_SOURCES})
|
||||
target_link_libraries(utils nxt_backend shaderc nxtcpp nxt)
|
||||
target_link_libraries(utils nxt_backend shaderc_shared nxtcpp nxt)
|
||||
target_include_directories(utils PUBLIC ${SRC_DIR})
|
||||
NXTInternalTarget("" utils)
|
||||
if(NOT MSVC)
|
||||
|
||||
Reference in New Issue
Block a user