Skip to content

fix FindCDParanoia.cmake#51

Merged
nullobsi merged 1 commit intonullobsi:mainfrom
PPN-SD:patch-1
Apr 15, 2025
Merged

fix FindCDParanoia.cmake#51
nullobsi merged 1 commit intonullobsi:mainfrom
PPN-SD:patch-1

Conversation

@PPN-SD
Copy link
Contributor

@PPN-SD PPN-SD commented Feb 7, 2025

Otherwise :

CMake Error at cmake/FindCDParanoia.cmake:99
(set_target_properties):
set_target_properties Can not find target to add properties to:
CDDA::Interface
Call Stack (most recent call first):
CMakeLists.txt:251 (find_package)

CMake Error at cmake/FindCDParanoia.cmake:104
(target_link_libraries):
Cannot specify link libraries for target "CDDA::Interface" which is > not
built by this project.
Call Stack (most recent call first):
CMakeLists.txt:251 (find_package)

@nullobsi
Copy link
Owner

Thank you. Looks like I missed the alternative case when pkg-config is not found.

@PPN-SD
Copy link
Contributor Author

PPN-SD commented Feb 11, 2025

Thank you. Looks like I missed the alternative case when pkg-config is not found.

-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.3.0")
-- Could NOT find LibCDIOParanoia (missing: LibCDIOParanoia_INCLUDE_DIR LibCDIOParanoia_LIBRARY)
-- Found CDParanoia: /usr/include
CMake Error at cmake/FindCDParanoia.cmake:99 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  CDDA::Interface
Call Stack (most recent call first):
  CMakeLists.txt:251 (find_package)


CMake Error at cmake/FindCDParanoia.cmake:104 (target_link_libraries):
  Cannot specify link libraries for target "CDDA::Interface" which is not
  built by this project.
Call Stack (most recent call first):
  CMakeLists.txt:251 (find_package)

This occurs even with pkgconfig installed.

Otherwise : 

> CMake Error at cmake/FindCDParanoia.cmake:99 
> (set_target_properties):
>  set_target_properties Can not find target to add properties to:
>  CDDA::Interface
> Call Stack (most recent call first):
>  CMakeLists.txt:251 (find_package)

> CMake Error at cmake/FindCDParanoia.cmake:104 
> (target_link_libraries):
>  Cannot specify link libraries for target "CDDA::Interface" which is > not
>  built by this project.
> Call Stack (most recent call first):
>  CMakeLists.txt:251 (find_package)
@nullobsi nullobsi merged commit a67db17 into nullobsi:main Apr 15, 2025
3 checks passed
@PPN-SD PPN-SD deleted the patch-1 branch April 15, 2025 04:41
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Jun 17, 2025
https://build.opensuse.org/request/show/1286209
by user RN + anag_factory
- Update to version 3.3.1:
  * build: Link to libmusicbrainzcc, not libmusicbrainz
    (gh#nullobsi/cantata#46)
  * build: update flatpak workflow (gh#nullobsi/cantata#53)
  * Add missing QRegularExpression include (gh#nullobsi/cantata#54)
  * fix FindCDParanoia.cmake (gh#nullobsi/cantata#51)
  * git: bump version by (gh#nullobsi/cantata#60)
  * fix: fill tags from filename if tag is empty in metadata
    (gh#nullobsi/cantata#64)
  * build: fix musicbrainz (gh#nullobsi/cantata#65)
  * rc: v3.3.1 (2) (gh#nullobsi/cantata#66)
- Superseded cantata-add-missing-qregularexpression-include.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants