From 51210a15c3479fccf7c4735f70e0c1a3b6085e8f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 12 Nov 2014 07:18:03 -0800 Subject: Moved man install target to main CMakeLists.txt. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 531a3b6..5f1dc25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,10 @@ set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_ add_subdirectory(src) +if(UNIX) + INSTALL(FILES man/man1/cmark.1 DESTINATION share/man/man1) +endif(UNIX) + if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Release." FORCE) -- cgit v1.2.3