gnucash master: Yet another tweak to properly find GMOCK sources

Geert Janssens gjanssens at code.gnucash.org
Mon Feb 20 12:09:15 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/01d31c71 (commit)
	from  https://github.com/Gnucash/gnucash/commit/81da2f24 (commit)



commit 01d31c7171998017ff8604330ae216f1877cf130
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Feb 20 17:17:54 2017 +0100

    Yet another tweak to properly find GMOCK sources
    
    The previous logic failed because GMOCK_SRC_DIR is cached. On
    subsequent cmake runs FIND_PATH is not invoked again and hence
    the first test for GMOCK_SRC_DIR will always succeed and
    src is always appended to it to obtain GMOCK_SRC_MAIN_DIR.
    This is not what we want, so I have chosen to force a rerun
    of FIND_PATH by clearing the cached value of GMOCK_SRC_DIR.



Summary of changes:
 src/cmake_modules/GncAddTest.cmake | 1 +
 1 file changed, 1 insertion(+)



More information about the gnucash-patches mailing list