Skip to content

Commit

Permalink
Merge pull request #2411 from mkuron/patch-9
Browse files Browse the repository at this point in the history
Fix broken ROCm build
  • Loading branch information
KaiSzuttor authored Dec 8, 2018
2 parents 3525b9d + e20fd64 commit 926ba87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ if (WITH_CUDA)
find_package(HIP MODULE)
message(STATUS "Found HIP compiler: ${HIP_HIPCC_EXECUTABLE}")
set(CUDA 1)
list(APPEND HIP_HCC_FLAGS "-Wno-macro-redefined")
list(APPEND HIP_HCC_FLAGS "-Wno-macro-redefined -Wno-duplicate-decl-specifier")
HIP_INCLUDE_DIRECTORIES("${CMAKE_BINARY_DIR}/src/core" "${CMAKE_SOURCE_DIR}/src/core")
function(cuda_include_directories)
HIP_INCLUDE_DIRECTORIES(${ARGV})
Expand Down

0 comments on commit 926ba87

Please sign in to comment.