From 6a950a3a56a86a2ed8825efe69c8fdd74721694b Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 28 Nov 2022 13:22:50 +0200 Subject: Avoid unnecessary variables for cmake target data, part 4 No advantages with includes either. cmake has some fancier property based stuff for dealing with public headers but those appear very recent additions. --- include/rpm/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/rpm/CMakeLists.txt b/include/rpm/CMakeLists.txt index c9fbcc073..53a59f7a9 100644 --- a/include/rpm/CMakeLists.txt +++ b/include/rpm/CMakeLists.txt @@ -1,4 +1,4 @@ -set(rpm_HEADERS +install(FILES argv.h rpmbase64.h rpmcrypto.h rpmfileutil.h rpmio.h rpmkeyring.h rpmlog.h rpmmacro.h rpmpgp.h rpmsq.h rpmstring.h rpmstrpool.h rpmsw.h rpmurl.h rpmutil.h rpmver.h @@ -11,6 +11,5 @@ set(rpm_HEADERS rpmbuild.h rpmspec.h rpmfc.h rpmsign.h + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rpm ) - -install(FILES ${rpm_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rpm ) -- cgit v1.2.1