diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2022-11-28 13:22:50 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2022-11-28 13:55:07 +0200 |
commit | 6a950a3a56a86a2ed8825efe69c8fdd74721694b (patch) | |
tree | ada16bdb62d5ce0a07647ff28670a005c8fea310 /include | |
parent | 91d8c1fb9f09237e9c1b420576b55403e68015c8 (diff) | |
download | rpm-6a950a3a56a86a2ed8825efe69c8fdd74721694b.tar.gz |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/rpm/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
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 ) |