Explorar el Código

[macOS] ignore ad-hoc codesigning for Intel builds

Andrey Filipenkov hace 9 meses
padre
commit
249c6d4d09
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      osx/CMakeLists.txt

+ 5 - 0
osx/CMakeLists.txt

@@ -41,6 +41,11 @@ if(APPLE_MACOS)
 	vcmi_install_conan_deps("${bundleContentsDir}")
 
 	# perform ad-hoc codesigning
+	# Intel Macs don't need it
+	if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
+		return()
+	endif()
+
 	set(executablesToSign vcmiserver)
 	if(ENABLE_EDITOR)
 		list(APPEND executablesToSign vcmieditor)