Commit c6afe52e authored by Dmitry I. Lyakh's avatar Dmitry I. Lyakh
Browse files

CMAKE build system fix for cuQuantum.


Signed-off-by: default avatarDmitry I. Lyakh <quant4me@gmail.com>
parent f4ae4aa6
......@@ -16,11 +16,19 @@ add_library(${LIBRARY_NAME}
add_dependencies(${LIBRARY_NAME} exatensor-build)
target_include_directories(${LIBRARY_NAME}
PUBLIC . graph optimizer executor executor/cuquantum ${CMAKE_SOURCE_DIR}/src/exatn)
PUBLIC . graph optimizer executor ${CMAKE_SOURCE_DIR}/src/exatn)
if(CUQUANTUM)
target_include_directories(${LIBRARY_NAME} PUBLIC executor/cuquantum)
endif()
target_link_libraries(${LIBRARY_NAME}
PUBLIC CppMicroServices exatn-utils exatn-numerics exatn-runtime-graph
PRIVATE Boost::graph exatn_runtime_cuquantum)
PRIVATE Boost::graph)
if(CUQUANTUM)
target_link_libraries(${LIBRARY_NAME} PUBLIC exatn_runtime_cuquantum)
endif()
exatn_configure_library_rpath(${LIBRARY_NAME})
......
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