Commit 47d5e6b0 authored by Andrew Wildman's avatar Andrew Wildman
Browse files

Merge branch 'release_candidate2' into 'release_candidate'

make CQ installable

See merge request chronusq/chronusq_dev!88
parents 6a5730d8 3d4000a9
......@@ -115,6 +115,8 @@ if( CQ_NEED_OPENBLAS )
patch < ../patch/f77blas.patch
)
install(DIRECTORY "${OPENBLAS_PREFIX}/include" DESTINATION ".")
install(DIRECTORY "${OPENBLAS_PREFIX}/lib" DESTINATION ".")
list(APPEND CQEX_DEP openblas)
......@@ -215,6 +217,9 @@ if( CQ_ENABLE_MPI )
-DMPI_Fortran_COMPILER=${MPI_Fortran_COMPILER}
-DCMAKE_INSTALL_PREFIX=${SCALAPACK_PREFIX}
)
install(DIRECTORY "${SCALAPACK_PREFIX}/include" DESTINATION ".")
install(DIRECTORY "${SCALAPACK_PREFIX}/lib" DESTINATION ".")
list(APPEND CQEX_DEP libscalapack_build)
......
......@@ -125,6 +125,11 @@ if ( NOT TARGET ChronusQ::Libint2 )
endif()
install(TARGETS libint2
ARCHIVE DESTINATION "lib/libint2"
LIBRARY DESTINATION "lib/libint2"
INCLUDES DESTINATION "include/libint2")
add_library ( ChronusQ::Libint2 ALIAS libint2 )
else()
......
......@@ -44,3 +44,5 @@ endif()
add_custom_target(linkexe ALL
${CMAKE_COMMAND} -E create_symlink ${PROJECT_BINARY_DIR}/src/cxxapi/chronusq ${PROJECT_BINARY_DIR}/chronusq )
install(TARGETS chronusq RUNTIME DESTINATION "bin")
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