Only generate offline asm for the ARCHS (xcodebuild) or the current system (CMake)
[WebKit-https.git] / Source / JavaScriptCore / CMakeLists.txt
index 0aeb44cb358dd8625c8d5ce0d1399b598d16a6ed..d9a72f37b3d5634b6bb7050336e0d8662d96f09a 100644 (file)
@@ -1162,7 +1162,7 @@ list(APPEND JavaScriptCore_HEADERS
     ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/BytecodeStructs.h
 )
 
-if ((${CMAKE_SYSTEM_NAME} STREQUAL "Linux"))
+if (NOT WIN32)
     if (WTF_CPU_X86)
         set(OFFLINE_ASM_BACKEND "X86")
     elseif (WTF_CPU_X86_64)