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

Fixed ExaTN build w/o cuQuantum


Signed-off-by: default avatarDmitry I. Lyakh <quant4me@gmail.com>
parent 972430c0
......@@ -16,11 +16,7 @@ add_library(${LIBRARY_NAME}
add_dependencies(${LIBRARY_NAME} exatensor-build)
target_include_directories(${LIBRARY_NAME}
PUBLIC . graph optimizer executor ${CMAKE_SOURCE_DIR}/src/exatn)
if(CUQUANTUM)
target_include_directories(${LIBRARY_NAME} PUBLIC executor/cuquantum)
endif()
PUBLIC . graph optimizer executor ${CMAKE_SOURCE_DIR}/src/exatn executor/cuquantum)
target_link_libraries(${LIBRARY_NAME}
PUBLIC CppMicroServices exatn-utils exatn-numerics exatn-runtime-graph
......
......@@ -52,7 +52,7 @@ if(CUQUANTUM)
add_subdirectory(cuquantum)
endif()
file (GLOB HEADERS *.hpp)
file (GLOB HEADERS *.hpp cuquantum/tensor_network_queue.hpp)
install(FILES ${HEADERS} DESTINATION include/exatn)
install(TARGETS ${LIBRARY_NAME} DESTINATION plugins)
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