diff --git a/Engine/CMakeLists.txt b/Engine/CMakeLists.txt index 79e0c5c..d5cdc0a 100644 --- a/Engine/CMakeLists.txt +++ b/Engine/CMakeLists.txt @@ -57,4 +57,13 @@ if(WIN32) target_link_libraries(Engine d3d11) target_link_libraries(Engine dxguid) target_link_libraries(Engine D3DCompiler) -endif() \ No newline at end of file +endif() + + +message(BINARY DIRECTORY IS IN ${CMAKE_BINARY_DIR}) + +add_custom_command( + TARGET Engine + POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different + ${CMAKE_BINARY_DIR}/Dependencies/ShaderConductor/Bin/Debug/ShaderConductor.dll + ${CMAKE_BINARY_DIR}/bin/Debug) \ No newline at end of file