Skip to content

Commit

Permalink
Fix broken ROCm build
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuron authored Dec 8, 2018
1 parent 3525b9d commit e20fd64
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 e20fd64

Please sign in to comment.