comparison Resources/CMake/GoogleTestConfiguration.cmake @ 3833:a3e38994d95a

compilation on mips qemu
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 15 Apr 2020 14:45:52 +0200
parents ea54109a7312
children
comparison
equal deleted inserted replaced
3832:ab9a0d1e0cc1 3833:a3e38994d95a
1 if (USE_GOOGLE_TEST_DEBIAN_PACKAGE) 1 if (USE_GOOGLE_TEST_DEBIAN_PACKAGE)
2 find_path(GOOGLE_TEST_DEBIAN_SOURCES_DIR 2 find_path(GOOGLE_TEST_DEBIAN_SOURCES_DIR
3 NAMES src/gtest-all.cc 3 NAMES src/gtest-all.cc
4 PATHS 4 PATHS
5 /usr/src/gtest 5 ${CROSSTOOL_NG_IMAGE}/usr/src/gtest
6 /usr/src/googletest/googletest 6 ${CROSSTOOL_NG_IMAGE}/usr/src/googletest/googletest
7 PATH_SUFFIXES src 7 PATH_SUFFIXES src
8 ) 8 )
9 9
10 find_path(GOOGLE_TEST_DEBIAN_INCLUDE_DIR 10 find_path(GOOGLE_TEST_DEBIAN_INCLUDE_DIR
11 NAMES gtest.h 11 NAMES gtest.h
12 PATHS 12 PATHS
13 /usr/include/gtest 13 ${CROSSTOOL_NG_IMAGE}/usr/include/gtest
14 ) 14 )
15 15
16 message("Path to the Debian Google Test sources: ${GOOGLE_TEST_DEBIAN_SOURCES_DIR}") 16 message("Path to the Debian Google Test sources: ${GOOGLE_TEST_DEBIAN_SOURCES_DIR}")
17 message("Path to the Debian Google Test includes: ${GOOGLE_TEST_DEBIAN_INCLUDE_DIR}") 17 message("Path to the Debian Google Test includes: ${GOOGLE_TEST_DEBIAN_INCLUDE_DIR}")
18 18