Skip to content

Commit

Permalink
updated cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
wxj6000 committed Jan 13, 2024
1 parent 03979e7 commit 19743e1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gpu4pyscf/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ if(BUILD_DFTD3)
GIT_TAG v1.0.0
PREFIX ${PROJECT_BINARY_DIR}/deps
INSTALL_DIR ${PROJECT_SOURCE_DIR}/deps
CMAKE_ARGS -DWITH_OpenMP=OFF
CMAKE_ARGS -DWITH_OpenMP=OFF -DBUILD_SHARED_LIBS=ON
-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
-DCMAKE_INSTALL_LIBDIR:PATH=lib
)
endif()

Expand All @@ -136,6 +138,8 @@ if(BUILD_DFTD4)
GIT_TAG v3.6.0
PREFIX ${PROJECT_BINARY_DIR}/deps
INSTALL_DIR ${PROJECT_SOURCE_DIR}/deps
CMAKE_ARGS -DWITH_OpenMP=OFF
CMAKE_ARGS -DWITH_OpenMP=OFF -DBUILD_SHARED_LIBS=ON
-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
-DCMAKE_INSTALL_LIBDIR:PATH=lib
)
endif()

0 comments on commit 19743e1

Please sign in to comment.