2024-06-26 20:21:08 +00:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
index 7045304..d18b02f 100644
|
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
|
|
|
@@ -20,15 +20,16 @@ FetchContent_Declare(
|
|
|
|
abseil-cpp
|
2024-04-30 12:49:48 +00:00
|
|
|
URL https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.0.tar.gz
|
|
|
|
URL_HASH
|
|
|
|
- SHA256=59d2976af9d6ecf001a81a35749a6e551a335b949d34918cfade07737b9d93c5)
|
|
|
|
+ SHA256=59d2976af9d6ecf001a81a35749a6e551a335b949d34918cfade07737b9d93c5
|
2024-06-26 20:21:08 +00:00
|
|
|
+ FIND_PACKAGE_ARGS NAMES absl)
|
2024-04-30 12:49:48 +00:00
|
|
|
|
|
|
|
FetchContent_Declare(
|
|
|
|
pybind11
|
|
|
|
- URL https://github.com/pybind/pybind11/archive/refs/heads/master.tar.gz)
|
|
|
|
+ URL https://github.com/pybind/pybind11/archive/refs/heads/master.tar.gz
|
|
|
|
+ FIND_PACKAGE_ARGS)
|
|
|
|
|
2024-06-26 20:21:08 +00:00
|
|
|
+#find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module)
|
|
|
|
FetchContent_MakeAvailable(abseil-cpp pybind11)
|
|
|
|
-find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module)
|
|
|
|
-add_subdirectory(cmake/dependencies dependencies)
|
2024-04-30 12:49:48 +00:00
|
|
|
|
|
|
|
set(TOP_LEVEL_DIR ${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
include_directories(${TOP_LEVEL_DIR} ${pybind11_INCLUDE_DIRS})
|