Files rpmrc, platform and macros are mot in source tree and they are generated
to `${CMAKE_BINARY_DIR}` in cace of off-source tree build.
Here is the patch which fixes this issue
```patch
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -162,7 +162,9 @@
install(CODE "execute_process(COMMAND
${CMAKE_COMMAND} -E env pkglibdir=${RPM_CONFIGDIR}
${CMAKE_SOURCE_DIR}/installplatform
- rpmrc platform macros
+ ${CMAKE_BINARY_DIR}/rpmrc
+ ${CMAKE_BINARY_DIR}/platform
+ ${CMAKE_BINARY_DIR}/macros
${RPMCANONVENDOR} ${RPMCANONOS} ${RPMCANONGNU})"
)
endfunction()
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2649#issuecomment-1711212728
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2649/1711212...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint