Closed jjberry314 closed 5 years ago
Is there a compile option to force static linkage rather than generating a shared object?
Right now, the only way I can see to do it is to edit CMakeLists.txt line 132
Yes -- when you run CMake, add -DLIBRARY_TYPE=STATIC. Example:
-DLIBRARY_TYPE=STATIC
$> cmake -DLIBRARY_TYPE=STATIC ..
Thanks!
Is there a compile option to force static linkage rather than generating a shared object?
Right now, the only way I can see to do it is to edit CMakeLists.txt line 132