Perhaps it is all RPM based distros with this bug? Until I had to add multimedia to play a wav file for RedDiamond I didn't notice.
CopperSpiceLibraryTargets.cmake
On Debian platforms you get this:
Code: Select all
set_target_properties(CopperSpice::CsMultimedia PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/copperspice/QtMultimedia;
/usr/include/gstreamer-1.0;
/usr/include/x86_64-linux-gnu;
/usr/include/glib-2.0;
/usr/lib/x86_64-linux-gnu/glib-2.0/include"
INTERFACE_LINK_LIBRARIES "CopperSpice::CsCore;CopperSpice::CsGui;CopperSpice::CsNetwork;CopperSpice::CsOpenGL"
)
On RPM based distros (Fedora 36 and Fedora 40) you get this
Code: Select all
set_target_properties(CopperSpice::CsMultimedia PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/copperspice/QtMultimedia;
/usr/include/gstreamer-1.0;
/usr/include/glib-2.0;
/usr/lib64/glib-2.0/include/copperspice;
/usr/include/sysprof-4"
INTERFACE_LINK_LIBRARIES "CopperSpice::CsCore;CopperSpice::CsGui;CopperSpice::CsNetwork;CopperSpice::CsOpenGL"
)
Code: Select all
-- Configuring done (2.7s)
CMake Error in src/CMakeLists.txt:
Imported target "CopperSpice::CsMultimedia" includes non-existent path
"/usr/lib64/glib-2.0/include/copperspice"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
I'm going to do a hack-a-round in the RPM build script using sed, but there is obviously something really wrong.
Never had to use multimedia before so I cannot say if the problem started with 1.8.2 and my Jan 3, 2024 merge or is an old bug.
There are __always__ problems with Fedora. I put it off until last because, in my experience, it is the least tested distro out there. Here's hoping you get OpenSuSE officially supported.