- Parameters assigned to ImageMagick::Magick++ will now follow
the 'openshot' shared-library target wherever it's linked, even in
build subdirectories that aren't children or siblings of the
location where the target was created.
- Removed the redundant code duplicating `find_package(ImageMagick)`
checks. Multiple dependency scans have only been necessary as a
workaround to overcome CMake variables' restricted scope.
Targets do not share that limitation.
FindOpenShotAudio.cmake: Enhance with targets
- Also, migrate as much config as possible from CMakeLists.txt files
to properties of IMPORTED OpenShot::Audio target (including platform-
specific configs)
The Settings test attempts to test the class by changing settings
variables and reading them back again. Problem is, that affects
the REST of the unit tests. So instead of enabling HW accel and
causing crashes, we'll diddle something innocuous, like OMP_THREADS.
- Defaults OFF, must be enabled during build generation
- Set (cmake -DAPPIMAGE_BUILD=1) by GitLab linux builder
- Stored as a symbol in the library (via OpenShotVersion.h #defines)
- Also visible in Python module (`if openshot.APPIMAGE_BUILD: pass`)
Also, use CMAKE_SWIG_FLAGS properly (as a list), fix some indentation