forked from mirrors/nixpkgs
openmvg: build as shared library
This commit is contained in:
parent
b3c86fff5b
commit
6917c3116b
|
@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
|
|||
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
||||
"-DOpenMVG_BUILD_EXAMPLES=${if enableExamples then "ON" else "OFF"}"
|
||||
"-DOpenMVG_BUILD_DOC=${if enableDocs then "ON" else "OFF"}"
|
||||
"-DOpenMVG_BUILD_SHARED=ON"
|
||||
];
|
||||
|
||||
cmakeDir = "./src";
|
||||
|
|
Loading…
Reference in a new issue