spack/var/spack/repos/builtin/packages/nvtx/nvtx-config.patch
Thomas Bouvier 78e78eb1da
nvtx: add new package (#38430)
Co-authored-by: thomas-bouvier <thomas-bouvier@users.noreply.github.com>
2023-07-04 07:07:41 -04:00

11 lines
403 B
Diff

diff --git a/nvtx-config.cmake b/nvtx-config.cmake
new file mode 100644
index 0000000000..bcad258624
--- /dev/null
+++ b/nvtx-config.cmake
@@ -0,0 +1,4 @@
+include("${CMAKE_CURRENT_LIST_DIR}/nvtxImportedTargets.cmake")
+set(${CMAKE_FIND_PACKAGE_NAME}_CONFIG "${CMAKE_CURRENT_LIST_FILE}")
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(${CMAKE_FIND_PACKAGE_NAME} CONFIG_MODE)