man: use dummy path on Windows

This commit is contained in:
Peter Kümmel 2016-01-20 19:37:53 +01:00
parent 6dcecd9199
commit 6e6f9ac3d0

View File

@ -472,7 +472,11 @@ set(LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}")
if(LYX_BUNDLE AND APPLE)
set(LYX_MAN_DIR "${LYX_DATA_SUBDIR}" CACHE STRING "Install location for man pages.")
else()
if(WIN32)
set(LYX_MAN_DIR "${CMAKE_BINARY_DIR}/usr/local/man/man1" CACHE STRING "Install location for man pages.")
else()
set(LYX_MAN_DIR "/usr/local/man/man1" CACHE STRING "Install location for man pages.")
endif()
endif()
mark_as_advanced(LYX_MAN_DIR)