File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ function(find_package_or_fetch)
4040 FetchContent_MakeAvailable(${arg_PACKAGE_NAME} )
4141 message (STATUS "\t ✅ Fetched ${arg_PACKAGE_NAME} " )
4242 else ()
43- message (STATUS "📦 ${actual_pkg_name} found here: ${actual_pkg_name} _DIR" )
43+ message (STATUS "📦 ${actual_pkg_name} found here: ${${ actual_pkg_name} _DIR} " )
4444 endif ()
4545 endif ()
4646endfunction ()
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ target_link_libraries(${test_target}
2222)
2323
2424if (WIN32 )
25+ find_package (date REQUIRED) # For copying DLLs
2526 add_custom_command (
2627 TARGET ${test_target} POST_BUILD
2728 COMMAND ${CMAKE_COMMAND} -E copy
@@ -33,6 +34,9 @@ if(WIN32)
3334 COMMAND ${CMAKE_COMMAND} -E copy
3435 "$<TARGET_FILE:sparrow::json_reader>"
3536 "$<TARGET_FILE_DIR:${test_target} >"
37+ COMMAND ${CMAKE_COMMAND} -E copy
38+ "$<TARGET_FILE:date::date-tz>"
39+ "$<TARGET_FILE_DIR:${test_target} >"
3640 COMMENT "Copying sparrow and sparrow-ipc DLLs to executable directory"
3741 )
3842endif ()
You can’t perform that action at this time.
0 commit comments