mirror of
https://github.com/taglib/taglib.git
synced 2025-05-25 12:10:26 -04:00
This will install a <libdir>/cmake/taglib/ folder with CMake configuration, so that users can simply use find_package(TagLib) add_executable(myproject ...) target_link_libraries(myproject TagLib::tag)
13 lines
271 B
CMake
13 lines
271 B
CMake
@PACKAGE_INIT@
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/taglib-targets.cmake")
|
|
|
|
set(TAGLIB_FOUND ${TagLib_FOUND})
|
|
set(TAGLIB_VERSION ${TagLib_VERSION})
|
|
|
|
check_required_components("TagLib")
|
|
|
|
if(NOT TARGET TagLib::TagLib)
|
|
add_library(TagLib::TagLib ALIAS TagLib::tag)
|
|
endif()
|