diff --git a/testing/cpm/cpm_generate_patch_command-current_json_dir.cmake b/testing/cpm/cpm_generate_patch_command-current_json_dir.cmake index 5d77d8f1..5cb74788 100644 --- a/testing/cpm/cpm_generate_patch_command-current_json_dir.cmake +++ b/testing/cpm/cpm_generate_patch_command-current_json_dir.cmake @@ -1,5 +1,5 @@ #============================================================================= -# Copyright (c) 2022, NVIDIA CORPORATION. +# Copyright (c) 2022-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -38,6 +38,11 @@ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/override.json "file" : "${current_json_dir}/example.diff", "issue" : "explain", "fixed_in" : "" + }, + { + "file" : "${current_json_dir}/example2.diff", + "issue" : "explain", + "fixed_in" : "" } ] } @@ -51,7 +56,7 @@ if(NOT patch_command) message(FATAL_ERROR "rapids_cpm_package_override specified a patch step for `pkg_with_patch`") endif() -set(to_match_string "set(files ${CMAKE_CURRENT_BINARY_DIR}/example.diff)") +set(to_match_string "set(files \"${CMAKE_CURRENT_BINARY_DIR}/example.diff;${CMAKE_CURRENT_BINARY_DIR}/example2.diff\")") list(POP_BACK patch_command script_to_run) file(READ "${script_to_run}" contents)