Merge remote-tracking branch 'lethosor/cmake-fix-find-python-pyenv' into develop

develop
lethosor 2023-05-09 22:09:55 -04:00
commit 904b289c8f
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 3 additions and 0 deletions

@ -376,6 +376,9 @@ endif()
#### expose depends ####
# fix for pyenv: default to `python3` before `python3.x`
set(Python_FIND_UNVERSIONED_NAMES FIRST)
if(UNIX)
# Rescan for pthread and zlib if the build arch changed
if(NOT "${DFHACK_BUILD_ARCH}" STREQUAL "${DFHACK_BUILD_ARCH_PREV}")