Skip to content

Commit

Permalink
support python 3.8 and qgis-deps-0.7.0 (#41505)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Feb 11, 2021
1 parent ba7a0fa commit 0ddff71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindPythonLibrary.cmake
Expand Up @@ -55,7 +55,7 @@ else(EXISTS "${PYTHON_INCLUDE_PATH}" AND EXISTS "${PYTHON_LIBRARY}" AND EXISTS "
STRING(REPLACE "\\" "/" PYTHON_SITE_PACKAGES_DIR ${PYTHON_SITE_PACKAGES_DIR})
FIND_LIBRARY(PYTHON_LIBRARY NAMES ${PYTHON_LIBRARY_NAMES} PATHS ${PYTHON_PREFIX}/lib ${PYTHON_PREFIX}/libs)
elseif(APPLE AND QGIS_MAC_DEPS_DIR)
FIND_LIBRARY(PYTHON_LIBRARY python${PYTHON_SHORT_VERSION}m PATHS $ENV{LIB_DIR}/lib)
FIND_LIBRARY(PYTHON_LIBRARY NAMES ${PYTHON_LIBRARY_NAMES} PATHS $ENV{LIB_DIR}/lib)
else(WIN32)
FIND_LIBRARY(PYTHON_LIBRARY NAMES ${PYTHON_LIBRARY_NAMES})
endif(WIN32)
Expand Down

0 comments on commit 0ddff71

Please sign in to comment.