Skip to content

Commit

Permalink
Remove residual QMC_UTIL_LIBS
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Feb 7, 2020
1 parent 64b6e83 commit 0873e9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/QMCApp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,5 @@ IF(BUILD_FCIQMC)
TARGET_LINK_LIBRARIES(qmcpack fciqmc)
ENDIF(BUILD_FCIQMC)

FOREACH(l ${QMC_UTIL_LIBS})
TARGET_LINK_LIBRARIES(qmcpack ${l})
ENDFOREACH(l ${QMC_UTIL_LIBS})

INSTALL(TARGETS qmcpack
RUNTIME DESTINATION bin)
7 changes: 0 additions & 7 deletions src/QMCTools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ FOREACH(p ${QTOOLS})
INSTALL(TARGETS ${p}
RUNTIME DESTINATION bin)

FOREACH(l ${QMC_UTIL_LIBS})
TARGET_LINK_LIBRARIES(${p} PRIVATE ${l})
ENDFOREACH(l ${QMC_UTIL_LIBS})

ENDFOREACH(p ${QTOOLS})

ADD_EXECUTABLE(qmc-get-supercell getSupercell.cpp)
Expand All @@ -69,9 +65,6 @@ INSTALL(TARGETS qmc-check-affinity

ADD_EXECUTABLE(convertpw4qmc convertpw4qmc.cpp XmlRep.cpp WriteEshdf.cpp)
TARGET_LINK_LIBRARIES(convertpw4qmc PRIVATE qmcutil)
FOREACH(l ${QMC_UTIL_LIBS})
TARGET_LINK_LIBRARIES(convertpw4qmc PRIVATE ${l})
ENDFOREACH(l ${QMC_UTIL_LIBS})

INSTALL(TARGETS convertpw4qmc
RUNTIME DESTINATION bin)
Expand Down
3 changes: 3 additions & 0 deletions src/formic/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ IF(HAVE_MPI)
TARGET_LINK_LIBRARIES(formic_utils PUBLIC MPI::MPI_CXX)
ENDIF()

# Ye Temporary safe depdency for linear algerbra, will be fixed soon.
TARGET_LINK_LIBRARIES(formic_utils PUBLIC qmcutil)

#target_link_libraries(formic_utils ${FORMIC_LAPACK_BLAS_LIBS})

#set_property(TARGET formic_utils PROPERTY CXX_STANDARD 11)
Expand Down

0 comments on commit 0873e9c

Please sign in to comment.