Skip to content

Commit

Permalink
update cmakelist
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Sep 10, 2023
1 parent e066934 commit 6c73bf9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/iTPS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ add_subdirectory(core)
add_library(PEPS_Parameters STATIC PEPS_Parameters.cpp)
target_link_libraries(PEPS_Parameters PUBLIC tenes_mpi)

add_library(contraction_order STATIC contraction_order.cpp default_order.cpp)
target_link_libraries(contraction_order PUBLIC optimize_contraction_order tenes_mpi tensor)

add_library(load_toml STATIC load_toml.cpp)
target_link_libraries(load_toml PUBLIC tenes_util tenes_mpi tensor SquareLattice PEPS_Parameters)
target_link_libraries(load_toml PUBLIC tenes_util tenes_mpi tensor SquareLattice PEPS_Parameters contraction_order)
target_include_directories(load_toml PUBLIC ${CPPTOML_INCLUDE_DIR} ${BOOST_INCLUDE_DIR})

add_library(contraction_order STATIC contraction_order.cpp default_order.cpp)
target_link_libraries(contraction_order PUBLIC load_toml optimize_contraction_order)

add_library(
iTPS_impl STATIC
iTPS.cpp
Expand All @@ -31,5 +31,5 @@ add_library(
target_link_libraries(iTPS_impl PUBLIC iTPS_core SquareLattice load_toml tenes_util PEPS_Parameters contraction_order)

add_executable(tenes_optimize_contraction_order main_optimize_contraction.cpp)
target_link_libraries(tenes_optimize_contraction_order PUBLIC contraction_order)
target_link_libraries(tenes_optimize_contraction_order PUBLIC contraction_order load_toml)
install(TARGETS tenes_optimize_contraction_order RUNTIME DESTINATION bin)

0 comments on commit 6c73bf9

Please sign in to comment.