aboutsummaryrefslogtreecommitdiff
path: root/multimedia/obs-studio/files/patch-cmake_common_helpers__common.cmake
blob: f80e9a43150c7aad22212a5a3d640c533041eee4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- cmake/common/helpers_common.cmake.orig	2025-08-01 04:18:14 UTC
+++ cmake/common/helpers_common.cmake
@@ -467,6 +467,9 @@ function(add_obs_plugin target)
     set(found_architecture TRUE)
   else()
     foreach(architecture IN LISTS _AOP_ARCHITECTURES)
+      if (${architecture} STREQUAL x86_64)
+      	set(architecture "amd64") # the x86_64 is called amd64 on BSDs
+      endif()
       if(OS_WINDOWS)
         if("${architecture}" STREQUAL CMAKE_VS_PLATFORM_NAME)
           set(found_architecture TRUE)