development/gtest: Change the cmake file install routine.
Use a more compatible (with current) one Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
210e371598
commit
744aef7a47
|
@ -121,9 +121,10 @@ for i in gmock gmock_main gtest gtest_main ; do
|
|||
> $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/${i}.pc
|
||||
done
|
||||
|
||||
# copy the cmake filesa
|
||||
cp -a build/googletest/CMakeFiles/Export/lib$LIBDIRSUFFIX/cmake $PKG/usr/lib$LIBDIRSUFFIX/
|
||||
install -m 0644 build/googletest/generated/*.cmake $PKG/usr/lib$LIBDIRSUFFIX/cmake/GTest
|
||||
# copy the cmake files
|
||||
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/cmake/GTest
|
||||
find build/googletest/CMakeFiles/Export build/googletest/generated \
|
||||
-name *.cmake -exec cp {} $PKG/usr/lib$LIBDIRSUFFIX/cmake/GTest \;
|
||||
|
||||
mkdir -p $PKG/usr/src
|
||||
cp -R googlemock $PKG/usr/src
|
||||
|
|
Loading…
Reference in New Issue