[Buildroot] [PATCH] gmock: download from github and convert to a cmake-package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Sep 8 19:20:33 UTC 2016
Hello,
On Thu, 8 Sep 2016 13:58:03 -0300, Carlos Santos wrote:
> +--- ./CMakeLists.txt.orig 2013-09-18 21:32:04.000000000 -0300
> ++++ ./CMakeLists.txt 2016-09-08 11:10:51.519780433 -0300
> +@@ -15,7 +15,7 @@
> + if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt")
> + set(gtest_dir gtest)
> + else()
> +- set(gtest_dir ../gtest)
> ++ set(gtest_dir ../gtest-${GTEST_VERSION})
So you make the assumption that you have the following code
organization:
output/build/gmock-1.7.0
output/build/gtest-1.7.0
i.e, during its build process, gmock needs to access the gtest source
code?
Why is it the case? As far as I'm aware, it's not currently the case
with the existing packaging.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list