Jean,

I don’t think you need to specify GMOCK_ROOT any longer and I believe 
GTEST_ROOT should point to the top level googletest dir.  So maybe give this a 
try:

cmake -G Xcode -D CMAKE_INSTALL_PREFIX=$PREFIX -D 
GTEST_ROOT=$SRCROOT/googletest  $SRCROOT/gnucash-git

Chris

> On Jul 11, 2020, at 11:16 AM, jean <rip...@gmail.com> wrote:
> 
> Devs,
> I'm running into this problem running cmake on the mac:
> 
> cmake -G Xcode -D CMAKE_INSTALL_PREFIX=$PREFIX -D 
> GTEST_ROOT=$SRCROOT/googletest/googletest -D 
> GMOCK_ROOT=$SRCROOT/googletest/googlemock $SRCROOT/gnucash-git
> 
> 
> -- Checking for GTEST
> CMake Error at common/cmake_modules/GncAddTest.cmake:143 (message):
>  GTEST sources not found in GTEST_ROOT
> Call Stack (most recent call first):
>  CMakeLists.txt:609 (gnc_gtest_configure)
> 
> 
> I am rerunning jhbuild, which takes quite a while
> If this does not work, can somebody point me in the right direction?
> 
> Jean
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to