-
Is it possible to use this repository as a submodule in a C++ project? I added this repo via
|
Beta Was this translation helpful? Give feedback.
Answered by
maxpla3
Jan 24, 2023
Replies: 1 comment 1 reply
-
Solution:
Set BUILD_SHARED_LIBS to ON if you'd like to use shared libs. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
maxpla3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solution:
First, add toppra as a git submodule in your project.
Then, add following lines to the CMakeLists.txt of your project (assuming your executable is called "main"):
Set BUILD_SHARED_LIBS to ON if you'd like to use shared libs.