clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 60bb20c7934b2d479c2a0d244d58ec704931b098
parent 9b5a50868fdb0d4f2dde945d9aede48712e6f96b
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Mon, 28 Nov 2022 09:37:08 +0100

Can't deprecate alias libraries

Diffstat:
MCMakeLists.txt | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -23,11 +23,8 @@ target_include_directories(clap INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) -# Older versions of the CLAP interfaces only defined a `clap-core` library. -# Exposing the main library with the same name as the project makes it much -# simpler for build systems to find the CLAP package. +# `clap-core` is deprecated, please `clap` instead. add_library(clap-core ALIAS clap) -set_target_properties(clap-core PROPERTIES DEPRECATION "Link against clap instead of clap-core") include(GNUInstallDirs) install(DIRECTORY "include/clap" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")