]> git.mxchange.org Git - flightgear.git/blobdiff - man/CMakeLists.txt
Use more specific logging classes for SG_LOG.
[flightgear.git] / man / CMakeLists.txt
index 6e979570b6b10c16c7644fc32d0028352fb8abdf..66bc113fb387559feea0df2ccd58f7e54b7a80aa 100644 (file)
@@ -1,3 +1,7 @@
+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)
@@ -27,3 +31,5 @@ foreach(man ${MANPAGES})
     install(FILES ${PROJECT_BINARY_DIR}/man/${man}
           DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc)
 endforeach()
+
+endif(MSVC)
\ No newline at end of file