--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -208,7 +208,7 @@
       export( TARGETS date-tz NAMESPACE date:: APPEND FILE dateTargets.cmake )
   endif( )
 
-  if( WIN32 AND NOT CYGWIN)
+  if( MSVC )
       set( CONFIG_LOC CMake )
   else( )
       set( CONFIG_LOC "${CMAKE_INSTALL_LIBDIR}/cmake/date" )
