commit 5b163d5c512394bdf40a04b99c1b32eb7496c628
Author: Jakub Bogusz <[email protected]>
Date: Sat Nov 14 08:38:55 2020 +0100
- relative dirs for cmake
powercap.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/powercap.spec b/powercap.spec
index 806660d..0e0dd79 100644
--- a/powercap.spec
+++ b/powercap.spec
@@ -42,7 +42,10 @@ Pliki nagłówkowe biblioteki powercap.
%build
install -d build
cd build
-%cmake ..
+# .pc file generation expects relative CMAKE_INSTALL_{INCLUDE,LIB}DIR
+%cmake .. \
+ -DCMAKE_INSTALL_INCLUDEDIR=include \
+ -DCMAKE_INSTALL_LIBDIR=%{_lib}
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/powercap.git/commitdiff/5b163d5c512394bdf40a04b99c1b32eb7496c628
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit