Skip to content

Commit b7126aa

Browse files
authored
Merge pull request #585 from Devsh-Graphics-Programming/dxcZeroCheck
Correct dxcompiler zero check rules
2 parents ed96a86 + f969590 commit b7126aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nbl/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,13 +524,13 @@ if(_NBL_ENABLE_DXC_COMPILE_TESTS_)
524524
add_dependencies(Nabla HLSL_NABLA_COMPILE_TEST)
525525
endif()
526526

527-
add_custom_command(OUTPUT "${DXC_LIB}" "${DXC_DLL}"
528-
COMMAND "${CMAKE_COMMAND}" --build "${DXC_BUILD_DIR}" --target dxcompiler --config $<IF:$<CONFIG:Debug>,Debug,Release> -v -j${_NBL_JOBS_AMOUNT_} --clean-first
527+
add_custom_target(dxcompiler
528+
COMMAND "${CMAKE_COMMAND}" --build "${DXC_BUILD_DIR}" --target dxcompiler --config $<IF:$<CONFIG:Debug>,Debug,Release> -j${_NBL_JOBS_AMOUNT_}
529+
BYPRODUCTS "${DXC_LIB}" "${DXC_DLL}"
529530
VERBATIM
530531
COMMAND_EXPAND_LISTS
531532
)
532533

533-
add_custom_target(dxcompiler DEPENDS "${DXC_LIB}" "${DXC_DLL}")
534534
add_dependencies(Nabla dxcompiler)
535535
add_dependencies(3rdparty dxcompiler)
536536

0 commit comments

Comments
 (0)