We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 730bd10 commit 81a1558Copy full SHA for 81a1558
.gitmodules
@@ -1,3 +1,6 @@
1
[submodule "cmake"]
2
path = cmake
3
url = https://github.com/jrl-umi3218/jrl-cmakemodules.git
4
+[submodule "ext/nanobind"]
5
+ path = ext/nanobind
6
+ url = https://github.com/wjakob/nanobind
CMakeLists.txt
@@ -112,7 +112,10 @@ execute_process(
112
OUTPUT_STRIP_TRAILING_WHITESPACE
113
OUTPUT_VARIABLE nanobind_ROOT
114
)
115
-find_package(nanobind CONFIG REQUIRED)
+find_package(nanobind 2.5.0 CONFIG)
116
+if(NOT nanobind_FOUND)
117
+ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/ext/nanobind)
118
+endif()
119
120
# Setup main targets
121
file(
ext/nanobind
0 commit comments