With the recent addition of OGMA camera it is no more possible to build the Ubuntu PPA package.
This is because it is not possible to reach Github from the Ubuntu build server to download the library.
Even with -DOPENSOURCE_ONLY=1 it still try to fetch the library, making the build to failed.
This change just prevent the fetch when OPENSOURCE_ONLY=1.
With the recent addition of OGMA camera it is no more possible to build the Ubuntu PPA package.
This is because it is not possible to reach Github from the Ubuntu build server to download the library. Even with -DOPENSOURCE_ONLY=1 it still try to fetch the library, making the build to failed.
This change just prevent the fetch when OPENSOURCE_ONLY=1.