Skip to content

Commit

Permalink
Don't try to install the manpage when using CMake
Browse files Browse the repository at this point in the history
... there's no manpage on master

Fixup of aeebd86

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
  • Loading branch information
sjaeckel committed Mar 27, 2024
1 parent 70cdc72 commit 8c40dcd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,6 @@ write_basic_package_version_file(
COMPATIBILITY SameMajorVersion
)

# Windows uses a different help sytem.
if((NOT WIN32) AND (NOT CMAKE_HOST_WIN32))
# install manpage (not gzipped, some BSD's do not want it compressed?)
install(FILES ${CMAKE_SOURCE_DIR}/doc/tommath.3
DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/
)
endif()

# install version file
install(FILES ${PROJECT_VERSION_FILE}
DESTINATION ${CONFIG_INSTALL_DIR}
Expand Down

0 comments on commit 8c40dcd

Please sign in to comment.