commit 78aee1afcacf29841a43463a4d9bb7b42101ad3d
parent 1bb4b2de43dc651661b1111835a170190bea9dea
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Mon, 28 Nov 2022 09:25:27 +0100
Add a deprecation message for clap-core
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -27,6 +27,7 @@ target_include_directories(clap INTERFACE
# Exposing the main library with the same name as the project makes it much
# simpler for build systems to find the CLAP package.
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}")