build pip package for windows

This commit is contained in:
Naoto Kondo
2022-03-21 17:21:53 +09:00
parent b82b43cb7e
commit 6a5cb93ba6
3 changed files with 12 additions and 6 deletions

View File

@@ -36,12 +36,12 @@ install(
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}
)
if(WIN32)
install(
FILES
"${NDI_DIR}/Bin/x64/Processing.NDI.Lib.x64.dll"
"${NDI_DIR}/Bin/x64/Processing.NDI.Lib.Licenses.txt"
DESTINATION ${CMAKE_INSTALL_PREFIX}
)
install(
FILES
"${NDI_DIR}/Bin/x64/Processing.NDI.Lib.x64.dll"
"${NDI_DIR}/Bin/x64/Processing.NDI.Lib.Licenses.txt"
DESTINATION ${CMAKE_INSTALL_PREFIX}
)
elseif(UNIX)
file(GLOB DLL "${NDI_LIBRARY_DIR}/libndi.so*")
file(GLOB LICENSE "${NDI_LICENSE_DIR}/*.txt")