update zmusic to 1.1.11

This commit is contained in:
alexey.lysiuk 2022-11-05 17:18:28 +02:00
parent 1e04dc0933
commit 09d50b39ed
6 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ if(NOT ZMusic_FIND_COMPONENTS)
endif()
include(CMakeFindDependencyMacro)
foreach(_module ZLIB;SndFile;MPG123;FluidSynth)
foreach(_module ZLIB;SndFile;MPG123)
find_dependency(${_module})
endforeach()

View file

@ -9,19 +9,19 @@
# The variable CVF_VERSION must be set before calling configure_file().
set(PACKAGE_VERSION "1.1.10")
set(PACKAGE_VERSION "1.1.11")
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
if("1.1.10" MATCHES "^([0-9]+)\\.")
if("1.1.11" MATCHES "^([0-9]+)\\.")
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
endif()
else()
set(CVF_VERSION_MAJOR "1.1.10")
set(CVF_VERSION_MAJOR "1.1.11")
endif()
if(PACKAGE_FIND_VERSION_RANGE)

View file

@ -56,7 +56,7 @@ add_library(ZMusic::zmusic STATIC IMPORTED)
set_target_properties(ZMusic::zmusic PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "\$<\$<STREQUAL:\$<TARGET_PROPERTY:ZMusic::zmusic,TYPE>,STATIC_LIBRARY>:ZMUSIC_STATIC>"
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:>;\$<LINK_ONLY:sndfile>;\$<LINK_ONLY:mpg123>;\$<LINK_ONLY:libfluidsynth>;\$<LINK_ONLY:>;\$<LINK_ONLY:>;\$<LINK_ONLY:\$<LINK_ONLY:ZLIB::ZLIB>>;\$<LINK_ONLY:ZLIB::ZLIB>;\$<LINK_ONLY:>;\$<LINK_ONLY:>;\$<LINK_ONLY:>;\$<LINK_ONLY:>;\$<LINK_ONLY:>;\$<LINK_ONLY:>"
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:sndfile>;\$<LINK_ONLY:mpg123>;\$<LINK_ONLY:ZLIB::ZLIB>;glib-2.0"
)
if(CMAKE_VERSION VERSION_LESS 2.8.12)

View file

@ -56,7 +56,7 @@ add_library(ZMusic::zmusiclite STATIC IMPORTED)
set_target_properties(ZMusic::zmusiclite PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "\$<\$<STREQUAL:\$<TARGET_PROPERTY:ZMusic::zmusiclite,TYPE>,STATIC_LIBRARY>:ZMUSIC_STATIC>"
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:>;\$<LINK_ONLY:sndfile>;\$<LINK_ONLY:mpg123>;\$<LINK_ONLY:libfluidsynth>;\$<LINK_ONLY:>;\$<LINK_ONLY:>;\$<LINK_ONLY:\$<LINK_ONLY:ZLIB::ZLIB>>;\$<LINK_ONLY:ZLIB::ZLIB>"
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:sndfile>;\$<LINK_ONLY:mpg123>;\$<LINK_ONLY:ZLIB::ZLIB>;glib-2.0"
)
if(CMAKE_VERSION VERSION_LESS 2.8.12)

Binary file not shown.

Binary file not shown.