Browse Source

disable websckets for mingw and android

Arnis Lielturks 5 years ago
parent
commit
cf74157888
1 changed files with 2 additions and 1 deletions
  1. 2 1
      cmake/Modules/UrhoCommon.cmake

+ 2 - 1
cmake/Modules/UrhoCommon.cmake

@@ -151,10 +151,11 @@ option (URHO3D_IK "Enable inverse kinematics support" TRUE)
 option (URHO3D_LUA "Enable additional Lua scripting support" TRUE)
 option (URHO3D_NAVIGATION "Enable navigation support" TRUE)
 option (URHO3D_NETWORK "Enable networking support" TRUE)
-cmake_dependent_option (URHO3D_WEBSOCKETS "Enable Websockets support" FALSE "NOT WEB" TRUE)
+cmake_dependent_option (URHO3D_WEBSOCKETS "Enable Websockets support" FALSE "ANDROID OR MINGW" FALSE)
 option (URHO3D_PHYSICS "Enable physics support" TRUE)
 option (URHO3D_URHO2D "Enable 2D graphics and physics support" TRUE)
 option (URHO3D_WEBP "Enable WebP support" TRUE)
+
 if (ARM AND NOT ANDROID AND NOT RPI AND NOT APPLE)
     set (ARM_ABI_FLAGS "" CACHE STRING "Specify ABI compiler flags (ARM on Linux platform only); e.g. Orange-Pi Mini 2 could use '-mcpu=cortex-a7 -mfpu=neon-vfpv4'")
 endif ()