diff options
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
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) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 45b0fec..6f30bf0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -74,10 +74,6 @@ install(DIRECTORY ./ DESTINATION include/${PROJECT_NAME} FILES_MATCHING PATTERN "*.h") -if(UNIX) - INSTALL(FILES ../man/man1/cmark.1 DESTINATION share/man/man1) -endif(UNIX) - include (CheckIncludeFile) CHECK_INCLUDE_FILE (stdbool.h HAVE_STDBOOL_H) |