Sfoglia il codice sorgente

cmake: Change desired Python3 DLL name to stable ABI variant

PatTheMav 3 anni fa
parent
commit
4afc2c8e6f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      cmake/Modules/FindPythonWindows.cmake

+ 1 - 1
cmake/Modules/FindPythonWindows.cmake

@@ -20,7 +20,7 @@ find_path(
 
 find_library(
   PYTHON_LIB
-  NAMES ${_PYTHON_LIBRARIES} python36
+  NAMES ${_PYTHON_LIBRARIES} python3
   HINTS ${_PYTHON_LIBRARY_DIRS}
   PATH_SUFFIXES
     lib${_lib_suffix}