Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ endif()

set(SANE_DEV_BUILD true)

################################################################################
# Preserve RPATH in installed binaries so they can find shared libraries.
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

################################################################################
# Include CMake scripts from cmake directory.
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
Expand Down
3 changes: 3 additions & 0 deletions applications/analysis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ if (DCA_BUILD_ANALYSIS)

target_link_libraries(main_analysis PUBLIC signals ${DCA_LIBS} simplex_gm_rule)

install(TARGETS main_analysis RUNTIME DESTINATION bin)

message("DCA_MODEL_IS_MATERIAL_LATTICE ${DCA_MODEL_IS_MATERIAL_LATTICE}")
if (DCA_LATTICE STREQUAL "square")
#new development of exanded q chi_q_omega
Expand All @@ -23,6 +25,7 @@ if (DCA_BUILD_ANALYSIS)

target_link_libraries(chi_q_omega PUBLIC signals ${DCA_LIBS} simplex_gm_rule)

install(TARGETS chi_q_omega RUNTIME DESTINATION bin)
endif()

endif()
2 changes: 2 additions & 0 deletions applications/cluster_solver_check/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ if (DCA_BUILD_CLUSTER_SOLVER_CHECK)
dca_gpu_runtime_link(cluster_solver_check)
dca_gpu_blas_link(cluster_solver_check)
endif()

install(TARGETS cluster_solver_check RUNTIME DESTINATION bin)
endif()
2 changes: 2 additions & 0 deletions applications/dca/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ if (DCA_BUILD_DCA)
endif()

target_link_libraries(main_dca PUBLIC FFTW::Double signals ${DCA_LIBS} dca_io)

install(TARGETS main_dca RUNTIME DESTINATION bin)
endif()