mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
cmake: Fix target_add_resource ARGN support on Linux
This fixes how the AUTHORS file is installed.
This commit is contained in:
@@ -271,7 +271,7 @@ endfunction()
|
||||
# Helper function to add a specific resource to a bundle
|
||||
function(target_add_resource target resource)
|
||||
get_property(obs_module_list GLOBAL PROPERTY OBS_MODULES_ENABLED)
|
||||
if(${ARGN})
|
||||
if(ARGN)
|
||||
set(target_destination "${ARGN}")
|
||||
elseif(${target} IN_LIST obs_module_list)
|
||||
set(target_destination "${OBS_DATA_DESTINATION}/obs-plugins/${target}")
|
||||
|
||||
Reference in New Issue
Block a user