Skip to content

Commit

Permalink
Change ExternalProject_Add URL
Browse files Browse the repository at this point in the history
  • Loading branch information
haohanyang committed Jan 16, 2025
1 parent 9a4335a commit 4a8e67e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,6 @@ dmypy.json
cython_debug/

iphreeqc-build/
iphreeqc-install/
iphreeqc-install/

.vscode/
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ include(ExternalProject)
add_subdirectory(pybind11)

ExternalProject_Add(IPhreeqcBuild
URL https://water.usgs.gov/water-resources/software/PHREEQC/iphreeqc-3.7.3-15968.tar.gz
URL_HASH SHA256=8ad26c75e9060949291c450119d54ed69f352223592d79bc7a5f2512c9656f74
GIT_REPOSITORY https://github.com/usgs-coupled/iphreeqc.git
CMAKE_ARGS "-DCMAKE_INSTALL_PREFIX=${CMAKE_SOURCE_DIR}/iphreeqc-install" "-DBUILD_TESTING=OFF" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
INSTALL_DIR "${CMAKE_SOURCE_DIR}/iphreeqc-install"
)


pybind11_add_module(_iphreeqc MODULE "${CMAKE_SOURCE_DIR}/src/main.cpp")

add_dependencies(_iphreeqc IPhreeqcBuild)
Expand Down

0 comments on commit 4a8e67e

Please sign in to comment.