Skip to content

Commit 4885988

Browse files
committed
Remove submodule
1 parent 9a4335a commit 4885988

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
cmake_minimum_required(VERSION 3.20)
22

3-
project(phreeqc)
3+
project(phreeqc C CXX)
4+
5+
include(FetchContent)
46

57
set(CMAKE_CXX_STANDARD 11)
68

79
include(ExternalProject)
810

9-
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})
1020

1121
ExternalProject_Add(IPhreeqcBuild
1222
URL https://water.usgs.gov/water-resources/software/PHREEQC/iphreeqc-3.7.3-15968.tar.gz

pybind11

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)