diff options
author | Matteo Bernardini | 2024-05-12 14:47:00 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2024-05-18 01:55:47 +0200 |
commit | 744aef7a477a35855a74622a6b5ad84d6ea1df47 (patch) | |
tree | c176f84ff8421bf06e5bde6d3f57ae080a58e0a7 | |
parent | 210e371598655c7ab841c83736133829d52cdb34 (diff) | |
download | slackbuilds-744aef7a477a35855a74622a6b5ad84d6ea1df47.tar.gz |
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>
-rw-r--r-- | development/gtest/gtest.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/development/gtest/gtest.SlackBuild b/development/gtest/gtest.SlackBuild index 8de2381c4b..bf915c9da7 100644 --- a/development/gtest/gtest.SlackBuild +++ b/development/gtest/gtest.SlackBuild @@ -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 |