Skip to content

Commit

Permalink
revert to older build config on windows to test fixing issue #1
Browse files Browse the repository at this point in the history
Signed-off-by: ArchieMeng <[email protected]>
  • Loading branch information
ArchieMeng committed May 17, 2021
1 parent 796fbab commit 2de7f45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file removed images/outx.png
Binary file not shown.
6 changes: 3 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>: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()
Expand Down Expand Up @@ -297,7 +297,7 @@ if (${CMAKE_VERSION} VERSION_LESS "3.15")
include_directories(${PYTHON_INCLUDE_DIRS})
target_link_libraries(rife_ncnn_vulkan_wrapper ${RIFE_LINK_LIBRARIES} ${PYTHON_LIBRARIES})
else()
target_link_libraries(rife_ncnn_vulkan_wrapper ${RIFE_LINK_LIBRARIES} Python::Module)
target_link_libraries(rife_ncnn_vulkan_wrapper ${RIFE_LINK_LIBRARIES} Python::Python)
endif()
#
#target_link_libraries(rife-ncnn-vulkan ${RIFE_LINK_LIBRARIES})

0 comments on commit 2de7f45

Please sign in to comment.