--- libwebsockets-2.1.0/CMakeLists.txt.ORIG	2017-02-19 14:40:28.383595000 +0300
+++ libwebsockets-2.1.0/CMakeLists.txt	2017-02-19 14:40:35.940027200 +0300
@@ -1423,7 +1423,7 @@
 # Installation preparations.
 #
 
-if(WIN32 AND NOT CYGWIN)
+if(MSVC)
   set(DEF_INSTALL_CMAKE_DIR cmake)
 else()
   set(DEF_INSTALL_CMAKE_DIR lib${LIB_SUFFIX}/cmake/libwebsockets)
