Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python scripts that run with the default version of Python 3 by executing with /usr/bin/python3 that try to import gnucash can't find it if it has been built for a different version. Instead of using other installed versions of Python 3 that happen to be present, default to using the default "unversioned" version. It doesn't look like CMake are going to fix the default behaviour, so every project has to do this: https://gitlab.kitware.com/cmake/cmake/-/issues/24878 https://gitlab.kitware.com/cmake/cmake/-/issues/24126 https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8287 This is only supported on CMake 3.20 or newer, so users of older versions will still get the broken behaviour. Use the newer default Python3_FIND_STRATEGY=LOCATION (CMP0094).
- Loading branch information