+if (MSVC)
+ # don't install man pages on Windows
+else(MSVC)
+
if(${CMAKE_VERSION} VERSION_GREATER 2.8.4)
# use official include provided by latest CMake
include(GNUInstallDirs)
install(FILES ${PROJECT_BINARY_DIR}/man/${man}
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc)
endforeach()
+
+endif(MSVC)
\ No newline at end of file