Skip to content

Commit

Permalink
man: do not build manual pages under MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed Feb 29, 2024
1 parent 9e660de commit 122b098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ endif()
if(BUILD_TOOLS)
add_subdirectory(tools)
endif()
if(BUILD_MANPAGES)
if(BUILD_MANPAGES AND NOT MSVC)
add_subdirectory(man)
endif()

Expand Down
2 changes: 1 addition & 1 deletion man/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ if(GZIP_PATH)
install(FILES ${PROJECT_BINARY_DIR}/man/${DST}.3.gz
DESTINATION "${CMAKE_INSTALL_MANDIR}/man3")
endforeach()
elseif(NOT MSVC)
else()
add_dependencies(man man_symlink)
foreach(f ${MAN_SOURCES})
if (${f} MATCHES ".1$")
Expand Down

0 comments on commit 122b098

Please sign in to comment.