Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit c54bf25

Browse files
committed
re2 as third party
1 parent 50278ea commit c54bf25

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.gitmodules

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
path = third_party/pybind11
66
url = https://github.com/pybind/pybind11.git
77
branch = stable
8+
[submodule "third_party/abseil-cpp"]
9+
path = third_party/abseil-cpp
10+
url = https://github.com/abseil/abseil-cpp.git
811
[submodule "third_party/re2"]
912
path = third_party/re2
1013
url = https://github.com/google/re2.git
11-
branch = main
12-
[submodule "third_party/abseil"]
13-
path = third_party/abseil
14-
url = https://github.com/abseil/abseil-cpp.git

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ if (NOT CMAKE_BUILD_TYPE)
1313
set(CMAKE_BUILD_TYPE Release)
1414
endif ()
1515

16-
#find_package(re2 REQUIRED)
17-
1816
# third-party libraries
1917
set(ABSL_ENABLE_INSTALL ON)
20-
add_subdirectory(third_party/abseil)
18+
set(ABSL_PROPAGATE_CXX_STD ON)
19+
add_subdirectory(third_party/abseil-cpp)
2120

2221
add_subdirectory(third_party/re2)
2322

third_party/abseil-cpp

Submodule abseil-cpp added at 5dc0e78

0 commit comments

Comments
 (0)