[GNC-dev] Compiling on maint
jean
ripngo at gmail.com
Sat Jul 11 14:33:05 EDT 2020
Thanks Chris, I believe that did the trick.
What about on Master?
Jean
On 7/11/20 11:25 AM, Chris Graves wrote:
> 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 <ripngo at 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 at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
More information about the gnucash-devel
mailing list