Skip to content

Commit

Permalink
guard against empty tpl dll list
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Jan 18, 2025
1 parent adcff18 commit 6b69f70
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/cmake/SetupTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ if(CONDUIT_ENABLE_TESTS AND WIN32 AND BUILD_SHARED_LIBS)
add_custom_target(tpl_dlls_dir ALL
COMMAND ${CMAKE_COMMAND} -E make_directory
${CMAKE_BINARY_DIR}/bin/$<CONFIG>)
add_custom_target(tpl_dlls ALL
COMMAND ${CMAKE_COMMAND} -E copy
${tpl_all_dlls}
${CMAKE_BINARY_DIR}/bin/$<CONFIG>)
add_dependencies(tpl_dlls tpl_dlls_dir)
if(${tpl_all_dlls})
add_custom_target(tpl_dlls ALL
COMMAND ${CMAKE_COMMAND} -E copy
${tpl_all_dlls}
${CMAKE_BINARY_DIR}/bin/$<CONFIG>)
add_dependencies(tpl_dlls tpl_dlls_dir)
endif()
endif()


Expand Down

0 comments on commit 6b69f70

Please sign in to comment.