diff --git a/testing/export/find_package_file-deprecated.cmake b/testing/export/find_package_file-deprecated.cmake index 88a1c410..64da1dd5 100644 --- a/testing/export/find_package_file-deprecated.cmake +++ b/testing/export/find_package_file-deprecated.cmake @@ -16,5 +16,5 @@ include(${rapids-cmake-dir}/export/find_package_file.cmake) project(rapids-project LANGUAGES CUDA) - +set(CMAKE_ERROR_DEPRECATED ON) rapids_export_find_package_file(BUILD [=[${CMAKE_CURRENT_LIST_DIR}/fake/build/path]=] test_set) diff --git a/testing/export/find_package_root-deprecated.cmake b/testing/export/find_package_root-deprecated.cmake index d6a19379..8e635fa1 100644 --- a/testing/export/find_package_root-deprecated.cmake +++ b/testing/export/find_package_root-deprecated.cmake @@ -16,5 +16,5 @@ include(${rapids-cmake-dir}/export/find_package_root.cmake) project(rapids-project LANGUAGES CUDA) - +set(CMAKE_ERROR_DEPRECATED ON) rapids_export_find_package_root(BUILD RMM [=[${CMAKE_CURRENT_LIST_DIR}/fake/build/path]=] test_set)