diff --git a/appveyor.yml b/appveyor.yml index 940729c8..849218ae 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,7 +10,7 @@ environment: - JOB_NAME: "win64" CMAKE_TARGET: "Visual Studio 16 2019" PLATFORM: "x64" - CMAKE_ARCH: "-A x64 -DPython_ROOT_DIR=C:\\Python311-x64" + CMAKE_ARCH: "-A x64 -DPython3_EXECUTABLE=C:\\Python311-x64\\python.exe" - JOB_NAME: "clang" CMAKE_TARGET: "Visual Studio 16 2019" PLATFORM: "Win32" diff --git a/src/asar-tests/CMakeLists.txt b/src/asar-tests/CMakeLists.txt index bdeacfc5..c55247c5 100644 --- a/src/asar-tests/CMakeLists.txt +++ b/src/asar-tests/CMakeLists.txt @@ -147,7 +147,7 @@ if(ASAR_GEN_DLL_TEST) # the interface tests run python, and we can't run ASan in python (or # well, we can, but it has some memory leaks which ASan considers an # error) so disable the interface tests in this case. - find_package(Python) + find_package(Python3) add_custom_target(run-interface-test "${CMAKE_COMMAND}" -E env "ASARDLL=$" "${Python_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/interface-tests/main.py" VERBATIM)