You need to sign in or sign up before continuing.
Unverified Commit 3ea2f226 authored by akolliasAMD's avatar akolliasAMD Committed by GitHub
Browse files

fixed typo in CMake CMAKE_CXX_FLAGS (#151)

parent 1e2537b2
......@@ -52,7 +52,7 @@ foreach(target ${COMPILING_TARGETS})
list(APPEND static_link_flags --offload-arch=${target})
endforeach()
list(JOIN static_link_flags " " flags_str)
set( CMAKE_CXX_FLAGS "${flags_str}${CMAKE_CXX_FLAGS}")
set( CMAKE_CXX_FLAGS "${flags_str} ${CMAKE_CXX_FLAGS}")
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -L${ROCM_PATH}/lib")
include_directories(${ROCM_PATH}/include)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment