We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a4335a commit 4885988Copy full SHA for 4885988
.gitmodules
CMakeLists.txt
@@ -1,12 +1,22 @@
1
cmake_minimum_required(VERSION 3.20)
2
3
-project(phreeqc)
+project(phreeqc C CXX)
4
+
5
+include(FetchContent)
6
7
set(CMAKE_CXX_STANDARD 11)
8
9
include(ExternalProject)
10
-add_subdirectory(pybind11)
11
+FetchContent_Declare(
12
+ pybind
13
+ GIT_REPOSITORY https://github.com/pybind/pybind11.git
14
+ GIT_TAG v2.13.6
15
+)
16
17
+FetchContent_MakeAvailable(pybind)
18
19
+add_subdirectory(${pybind_SOURCE_DIR})
20
21
ExternalProject_Add(IPhreeqcBuild
22
URL https://water.usgs.gov/water-resources/software/PHREEQC/iphreeqc-3.7.3-15968.tar.gz
pybind11
0 commit comments