--- CMakeLists.txt.orig	2018-12-09 20:53:53 UTC
+++ CMakeLists.txt
@@ -104,7 +104,7 @@ INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR
 FILE(GLOB SRC src/*.cpp)
 
 # library
-ADD_LIBRARY(qpOASES STATIC ${SRC})
+ADD_LIBRARY(qpOASES ${SRC})
 INSTALL(TARGETS qpOASES
   LIBRARY DESTINATION lib
   ARCHIVE DESTINATION lib
