Skip to content
Permalink
Browse files

support python 3.8 and qgis-deps-0.7.0 (#41505)

  • Loading branch information
PeterPetrik authored and nyalldawson committed Feb 16, 2021
1 parent 7b1b236 commit f076b9bd4ca79c4cf4ccd9cdde72efd2ec023c4a
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/FindPythonLibrary.cmake
@@ -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)

0 comments on commit f076b9b

Please sign in to comment.