--- nonFree/sift/CMakeLists.txt.orig	2018-08-25 14:45:11 UTC
+++ nonFree/sift/CMakeLists.txt
@@ -25,7 +25,7 @@ set(FEATS
   vl/mathop.c
   vl/random.c)
 set_source_files_properties(${FEATS} PROPERTIES LANGUAGE C)
-add_library(vlsift ${FEATS})
+add_library(vlsift SHARED ${FEATS})
 install(TARGETS vlsift DESTINATION lib EXPORT openMVG-targets)
 set_property(TARGET vlsift PROPERTY FOLDER OpenMVG/nonFree)
 install(
