Commit 24dd3ef8 authored by Artur Wojcik's avatar Artur Wojcik
Browse files

cmake_ref

parent ae29d4c7
......@@ -30,11 +30,13 @@ add_library(migraphx_ref
set_target_properties(migraphx_ref PROPERTIES EXPORT_NAME ref)
rocm_set_soversion(migraphx_ref ${MIGRAPHX_SO_VERSION})
find_path(BLAZE_INCLUDE blaze/Blaze.h)
if(NOT WIN32)
find_path(BLAZE_INCLUDE blaze/Blaze.h)
endif()
rocm_clang_tidy_check(migraphx_ref)
target_link_libraries(migraphx_ref PUBLIC migraphx)
target_include_directories(migraphx_ref PRIVATE ${BLAZE_INCLUDE})
target_link_libraries(migraphx_ref PUBLIC migraphx Threads::Threads)
target_include_directories(migraphx_ref SYSTEM PRIVATE ${BLAZE_INCLUDE})
target_compile_definitions(migraphx_ref PRIVATE -DBLAZE_USE_CPP_THREADS)
migraphx_generate_export_header(migraphx_ref)
......
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