openmvg: fixup build

The build broke probably after cmake upgrade in b8ac5b6cfb,
but either way - this forcing of old C++ standard seemed bad.
https://hydra.nixos.org/build/225241222/nixlog/2/tail
This commit is contained in:
Vladimír Čunát 2023-06-26 11:28:12 +02:00
parent 109633bef0
commit 24711148d4
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -26,7 +26,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ];
cmakeFlags = [
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DOpenMVG_BUILD_EXAMPLES=${if enableExamples then "ON" else "OFF"}"
"-DOpenMVG_BUILD_DOC=${if enableDocs then "ON" else "OFF"}"
"-DTARGET_ARCHITECTURE=generic"