mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[5057] check the (static) library too
This commit is contained in:
@@ -1250,6 +1250,10 @@ if test "x$enable_gtest" = "xyes" ; then
|
||||
GTEST_FOUND="false"
|
||||
for dir in $GTEST_PATHS; do
|
||||
if test -f "$dir/include/gtest/gtest.h"; then
|
||||
if ! test -f "$dir/lib/libgtests.a"; then
|
||||
AC_MSG_WARN([Found Google Test include but not the library in $dir.])
|
||||
continue
|
||||
fi
|
||||
GTEST_INCLUDES="-I$dir/include"
|
||||
GTEST_LDFLAGS="-L$dir/lib"
|
||||
GTEST_LDADD="-lgtest"
|
||||
|
Reference in New Issue
Block a user