cmake: Move obspython.py to Resources on macOS
parent
178ec005bd
commit
fd27ead2a7
|
@ -292,16 +292,7 @@ function(setup_obs_modules target)
|
|||
if(TARGET obspython)
|
||||
install(
|
||||
FILES "$<TARGET_FILE_DIR:obspython>/obspython.py"
|
||||
DESTINATION "PlugIns"
|
||||
COMPONENT obs_plugin_dev
|
||||
EXCLUDE_FROM_ALL)
|
||||
|
||||
set(_COMMAND
|
||||
"/usr/bin/codesign --force --sign \\\"${OBS_BUNDLE_CODESIGN_IDENTITY}\\\" $<$<BOOL:${OBS_CODESIGN_LINKER}>:--options linker-signed > \\\"\${CMAKE_INSTALL_PREFIX}/PlugIns/obspython.py\\\" > /dev/null"
|
||||
)
|
||||
|
||||
install(
|
||||
CODE "execute_process(COMMAND /bin/sh -c \"${_COMMAND}\")"
|
||||
DESTINATION "Resources"
|
||||
COMPONENT obs_plugin_dev
|
||||
EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
|
|
@ -85,12 +85,6 @@ if(EXISTS
|
|||
"${CMAKE_INSTALL_PREFIX}/${_BUNDLENAME}/Contents/MacOS/obs-ffmpeg-mux")
|
||||
endif()
|
||||
|
||||
if(EXISTS
|
||||
"${CMAKE_INSTALL_PREFIX}/${_BUNDLENAME}/Contents/PlugIns/obspython.py")
|
||||
list(APPEND _OTHER_BINARIES
|
||||
"${CMAKE_INSTALL_PREFIX}/${_BUNDLENAME}/Contents/PlugIns/obspython.py")
|
||||
endif()
|
||||
|
||||
if(EXISTS
|
||||
"${CMAKE_INSTALL_PREFIX}/${_BUNDLENAME}/Contents/Resources/obs-mac-virtualcam.plugin"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue