]> git.pld-linux.org Git - packages/powercap.git/commitdiff
- relative dirs for cmake master auto/th/powercap-0.3.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 14 Nov 2020 07:38:55 +0000 (08:38 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 14 Nov 2020 07:38:55 +0000 (08:38 +0100)
powercap.spec

index 806660d297d7b48812557895bea5b40a07e57d12..0e0dd7989e54183ee8aad4b20bff94446541d434 100644 (file)
@@ -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}
 
This page took 0.130788 seconds and 4 git commands to generate.