mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-24 07:56:59 +00:00
Do not install Google Test (fix building in CentOS 7)
This commit is contained in:
parent
2a96397890
commit
8c7fb525a7
@ -232,7 +232,7 @@ $ sudo ldconfig
|
||||
$ wget https://github.com/google/googletest/archive/release-1.8.1.zip
|
||||
$ unzip release-1.8.1.zip
|
||||
$ cd googletest-release-1.8.1
|
||||
$ cmake -DBUILD_GTEST=ON -DBUILD_GMOCK=OFF .
|
||||
$ cmake -DINSTALL_GTEST=OFF -DBUILD_GMOCK=OFF .
|
||||
$ make
|
||||
~~~~~~
|
||||
|
||||
|
@ -55,7 +55,7 @@ if(NOT ${GTEST_DIR_LOCAL})
|
||||
GIT_TAG release-${GNSSSDR_GTEST_LOCAL_VERSION}
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../thirdparty/gtest/gtest-${GNSSSDR_GTEST_LOCAL_VERSION}
|
||||
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../../gtest-${GNSSSDR_GTEST_LOCAL_VERSION}
|
||||
CMAKE_ARGS ${GTEST_COMPILER} -DBUILD_GMOCK=OFF ${TOOLCHAIN_ARG}
|
||||
CMAKE_ARGS ${GTEST_COMPILER} -DINSTALL_GTEST=OFF -DBUILD_GMOCK=OFF ${TOOLCHAIN_ARG}
|
||||
UPDATE_COMMAND ""
|
||||
PATCH_COMMAND ""
|
||||
INSTALL_COMMAND ""
|
||||
@ -67,7 +67,7 @@ if(NOT ${GTEST_DIR_LOCAL})
|
||||
GIT_TAG release-${GNSSSDR_GTEST_LOCAL_VERSION}
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../thirdparty/gtest/gtest-${GNSSSDR_GTEST_LOCAL_VERSION}
|
||||
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../../gtest-${GNSSSDR_GTEST_LOCAL_VERSION}
|
||||
CMAKE_ARGS ${GTEST_COMPILER} -DBUILD_GMOCK=OFF ${TOOLCHAIN_ARG}
|
||||
CMAKE_ARGS ${GTEST_COMPILER} -DINSTALL_GTEST=OFF -DBUILD_GMOCK=OFF ${TOOLCHAIN_ARG}
|
||||
UPDATE_COMMAND ""
|
||||
PATCH_COMMAND ""
|
||||
BUILD_BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/../../gtest-${GNSSSDR_GTEST_LOCAL_VERSION}/googletest/${CMAKE_FIND_LIBRARY_PREFIXES}gtest${CMAKE_STATIC_LIBRARY_SUFFIX}
|
||||
|
Loading…
Reference in New Issue
Block a user