cmark/man/CMakeLists.txt
Saleem Abdulrasool 828eeaf896 build: improve man page installation
man pages are extremely useful, but are not generally available on
Windows.  This changes the install condition to check for the Windows
cross-compile rather than the toolchain in use.  It is possible to build
for Windows using clang in the GNU driver.
2020-01-02 22:58:05 -07:00

5 lines
198 B
CMake

install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man1/cmark.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man3/cmark.3
DESTINATION ${CMAKE_INSTALL_MANDIR}/man3)