Source: opencv Version: 2.4.9.1+dfsg1-2 There should be missing an "else" in debian/rules which implies WITH_OPENGL is always ON for ubuntu (overriding previous if-else statement) and always undefined for other distributions.
Here is the fix: --- a/debian/rules +++ b/debian/rules @@ -33,6 +33,7 @@ CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON else CMAKE_ARCH_FLAGS += -DWITH_OPENGL=OFF endif +else CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON endif
pgpdHmCkjIX91.pgp
Description: Signature digitale OpenPGP