[cmake] fix OR statement

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2020-05-14 23:42:59 +03:00
parent 9a090509d1
commit f947fa9e26
No known key found for this signature in database
GPG key ID: 66F6C87B98EBCFE2

View file

@ -7,7 +7,7 @@ project("i2pd")
#set(CMAKE_VERBOSE_MAKEFILE on)
# Win32 build with cmake is not supported
if(WIN32 or MSVC or MSYS or MINGW)
if(WIN32 OR MSVC OR MSYS OR MINGW)
message(SEND_ERROR "cmake build for windows is not supported. Please use MSYS2 with makefiles in project root.")
endif()