We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 396aaa7 commit 7bc0553Copy full SHA for 7bc0553
CMakeLists.txt
@@ -12,13 +12,9 @@ find_package(pybind11 CONFIG REQUIRED)
12
13
message(STATUS "Fetching/configuring TinyMPC")
14
list(APPEND CMAKE_MESSAGE_INDENT " ")
15
-FetchContent_Declare(
16
- tinympc
17
- GIT_REPOSITORY https://github.com/TinyMPC/TinyMPC.git
18
- GIT_TAG main
19
-)
+# --- TinyMPC -------------------------------------------------
+add_subdirectory(tinympc/TinyMPC tinympc_build)
20
list(POP_BACK CMAKE_MESSAGE_INDENT)
21
-FetchContent_MakeAvailable(tinympc)
22
23
# configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/bindings.cpp.in
24
# ${CMAKE_CURRENT_SOURCE_DIR}/src/bindings.cpp)
0 commit comments