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

Fixed ExaTN build w/o cuQuantum

parent 972430c0
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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)