Commit 496dc99
CMake permits to set the BUILD_SHARED_LIBS=ON variable to specify if add_library calls without specifying explicitly STATIC or SHARED build a shared library.
However, in the case of the calibration library, the library itself is not meant to be installed, so even if BUILD_SHARED_LIBS=ON, the calibration library should be built as STATIC, otherwise at runtime the calibration_correction can fail because it doesn't find the shared library.
Co-authored-by: Silvio Traversaro <silvio@traversaro.it>
1 parent be1a538 commit 496dc99
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments