mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Find googletest in OpenSUSE (gtest package)
This commit is contained in:
parent
e7f3475261
commit
65fd1e7e45
@ -449,7 +449,7 @@ if(ENABLE_UNIT_TESTING OR ENABLE_SYSTEM_TESTING)
|
|||||||
endif(LIBGTEST_DEV_DIR)
|
endif(LIBGTEST_DEV_DIR)
|
||||||
find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS ${GTEST_DIR}/include)
|
find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS ${GTEST_DIR}/include)
|
||||||
else(GTEST_DIR)
|
else(GTEST_DIR)
|
||||||
find_path(LIBGTEST_DEV_DIR NAMES src/gtest-all.cc PATHS /usr/src/googletest/googletest /usr/src/gtest /opt/local/src/gtest-1.7.0 )
|
find_path(LIBGTEST_DEV_DIR NAMES src/gtest-all.cc PATHS /usr/src/googletest/googletest /usr/src/gtest /usr/include/gtest /opt/local/src/gtest-1.7.0 )
|
||||||
find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS /usr/include /opt/local/src/gtest-1.7.0/include)
|
find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS /usr/include /opt/local/src/gtest-1.7.0/include)
|
||||||
if(LIBGTEST_DEV_DIR)
|
if(LIBGTEST_DEV_DIR)
|
||||||
message (STATUS "Googletest package has been found.")
|
message (STATUS "Googletest package has been found.")
|
||||||
|
Loading…
Reference in New Issue
Block a user