diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2c997a..04ab612 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -313,7 +313,7 @@ jobs: with: tag_name: ${{ needs.setup.outputs.VERSION }} release_name: Release ${{ needs.setup.outputs.VERSION }} - draft: false + draft: true prerelease: false - name: upload-ubuntu diff --git a/images/outx.png b/images/outx.png deleted file mode 100644 index b99709c..0000000 Binary files a/images/outx.png and /dev/null differ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3b0cd7f..10fbbb6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,8 +6,8 @@ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") project(rife-ncnn-vulkan-python) # Python -if (${CMAKE_VERSION} VERSION_LESS "3.15") - find_package(Python REQUIRED) +if (${CMAKE_VERSION} VERSION_LESS "3.15" OR ${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows") + find_package(PythonLibs REQUIRED) else() find_package(Python REQUIRED COMPONENTS Development) endif() @@ -293,7 +293,7 @@ swig_add_library(rife_ncnn_vulkan_wrapper LANGUAGE python SOURCES rife.i rife.cp add_dependencies(rife_ncnn_vulkan_wrapper generate-spirv) target_compile_options(rife_ncnn_vulkan_wrapper PUBLIC -fexceptions) -if (${CMAKE_VERSION} VERSION_LESS "3.15") +if (${CMAKE_VERSION} VERSION_LESS "3.15" OR ${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows") include_directories(${PYTHON_INCLUDE_DIRS}) target_link_libraries(rife_ncnn_vulkan_wrapper ${RIFE_LINK_LIBRARIES} ${PYTHON_LIBRARIES}) else()