Sfoglia il codice sorgente

Update CMakeLists.txt

marauder2k7 2 mesi fa
parent
commit
44921231a6
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      Engine/lib/CMakeLists.txt

+ 2 - 2
Engine/lib/CMakeLists.txt

@@ -360,8 +360,8 @@ if(NOT Python3_FOUND)
 
     file(GLOB embedded_python_exe "${python_dir}/python*.exe")
     if(embedded_python_exe)
-        set(Python3_EXECUTABLE "${embedded_python_exe}" CACHE FILEPATH "Path to embedded Python" FORCE)
-        message(STATUS "Using embedded Python: ${Python3_EXECUTABLE}")
+        set(Python_EXECUTABLE "${embedded_python_exe}" CACHE FILEPATH "Path to embedded Python" FORCE)
+        message(STATUS "Using embedded Python: ${Python_EXECUTABLE}")
     endif()
 endif()