소스 검색

cmake: Fix target_add_resource ARGN support on Linux

This fixes how the AUTHORS file is installed.
tytan652 1 년 전
부모
커밋
2e075f7513
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cmake/linux/helpers.cmake

+ 1 - 1
cmake/linux/helpers.cmake

@@ -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}")