]> git.ipfire.org Git - thirdparty/libsolv.git/commit
CMakeLists.txt: fix MAN_INSTALL_DIR 134/head
authorMaxin B. John <maxin.john@intel.com>
Tue, 17 May 2016 15:13:19 +0000 (18:13 +0300)
committerMaxin B. John <maxin.john@intel.com>
Tue, 17 May 2016 15:20:14 +0000 (18:20 +0300)
commitedad524501cd2a1bb69847e57f88cad6f2a84b06
treeb8df67c29af9c848f0ef091b8ef14ab1d7f9b403
parent565280da80a62dbd48bcd30043149be210e3b5c3
CMakeLists.txt: fix MAN_INSTALL_DIR

It checks ${CMAKE_INSTALL_PREFIX}/share/man when configure, but it may
not exist when crosscompile, for example, when CMAKE_INSTALL_PREFIX="/",
it is OK, but when CMAKE_INSTALL_PREFIX="/some/path/else", then it
doesn't exist, and the man dir would be set to "/usr/man" which is
incorrect.

Signed-off-by: Robert Yang liezhi.yang@windriver.com
Signed-off-by: Maxin B. John <maxin.john@intel.com>
CMakeLists.txt