mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
1. If GTEST_ROOT and/or GMOCK_ROOT are defined, sources are expected somewhere inside these directories. Otherwise a CMake error is generated. Different source directory layouts are considered. 2. If GTEST_ROOT and GMOCK_ROOT are both not defined, sources are searched in /usr/src. Different source directory layouts are considered. 3. If sources are not found in one of the first two cases, preinstalled libraries are searched. Additionally using HINTS in function find_path() has been replaced by PATHS and PATH_SUFFIXES. According to CMake documentation in case of hard-coded guesses PATHS should be used. Remark: This reverts commit |
||
---|---|---|
.. | ||
cmake_modules | ||
debug | ||
test-core | ||
base-typemaps.i | ||
CMakeLists.txt | ||
config.h.cmake.in | ||
gnc-test-env.pl | ||
guile-mappings.h | ||
platform.h |