diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/miopen-hip/miopen-hip-include-nlohmann-include-directory.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/miopen-hip/miopen-hip-include-nlohmann-include-directory.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/miopen-hip/miopen-hip-include-nlohmann-include-directory.patch b/var/spack/repos/builtin/packages/miopen-hip/miopen-hip-include-nlohmann-include-directory.patch new file mode 100644 index 0000000000..1942a0b992 --- /dev/null +++ b/var/spack/repos/builtin/packages/miopen-hip/miopen-hip-include-nlohmann-include-directory.patch @@ -0,0 +1,12 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index ad4f043..bab85dc 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -643,6 +643,7 @@ set(MIOPEN_CK_LINK_FLAGS composable_kernel::device_operations hip::host) + endif() + + target_include_directories(MIOpen SYSTEM PUBLIC $<BUILD_INTERFACE:${HALF_INCLUDE_DIR}>) ++target_include_directories(MIOpen SYSTEM PUBLIC "${NLOHMANN_JSON_INCLUDE}") + target_include_directories(MIOpen SYSTEM PRIVATE ${BZIP2_INCLUDE_DIR}) + target_link_libraries(MIOpen PRIVATE ${CMAKE_THREAD_LIBS_INIT} ${BZIP2_LIBRARIES} ${MIOPEN_CK_LINK_FLAGS}) + generate_export_header(MIOpen |