Skip to content

Commit

Permalink
Fix 'The target name MPG123::libmpg123 is reserved or not valid'
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Jan 2, 2024
1 parent 5bd8b4d commit 94ad96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake_admin/Findmpg123.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ find_package_handle_standard_args(
# Create the targets
foreach(_component libmpg123 libout123 libsyn123)
if(mpg123_${_component}_FOUND AND NOT TARGET MPG123::${_component})
add_library(MPG123::${_component})
add_library(MPG123::${_component} UNKNOWN IMPORTED)
set_target_properties(
MPG123::${_component}
PROPERTIES IMPORTED_LOCATION "${mpg123_${_component}_LIBRARY}"
Expand Down

0 comments on commit 94ad96e

Please sign in to comment.