File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,9 @@ if (NOT ANDROID AND NOT IOS)
135135 add_external_library(zlib)
136136
137137 add_external_library(uWebSockets)
138+
139+ set (websockets_additional_defines "" )
140+
138141 # uWebSockets does not come with a CMakeLists file, so define the target.
139142 # Note that since it depends on OpenSSL, only do so if that was found.
140143 if (OPENSSL_FOUND)
@@ -161,7 +164,7 @@ if (NOT ANDROID AND NOT IOS)
161164 # default, as it can cause issues when libraries try
162165 # to include winsock2.h later on in the process.
163166 -DUSE_LIBUV=1
164- )
167+ )
165168 elseif (APPLE )
166169 set (websockets_additional_defines
167170 -DUSE_LIBUV=1
@@ -170,7 +173,7 @@ if (NOT ANDROID AND NOT IOS)
170173
171174 target_compile_definitions (libuWS
172175 PRIVATE
173- " ${websockets_additional_defines} "
176+ ${websockets_additional_defines}
174177 )
175178 target_include_directories (libuWS
176179 PUBLIC
You can’t perform that action at this time.
0 commit comments