From e28097e0d7707d2a2dace8b97e621464ea289a0a Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Mon, 18 Nov 2013 22:37:12 +0000 Subject: [PATCH] - bugfix for cmake builds handling of help2man for empty executable paths --- source/g3d_viewer/CMakeLists.txt | 2 +- source/glest_game/CMakeLists.txt | 2 +- source/glest_map_editor/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/g3d_viewer/CMakeLists.txt b/source/g3d_viewer/CMakeLists.txt index b6925c2d..c6124330 100644 --- a/source/g3d_viewer/CMakeLists.txt +++ b/source/g3d_viewer/CMakeLists.txt @@ -188,7 +188,7 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER) # Installation of the program manpage file INSTALL(FILES - "${HELP2MAN_OUT_PATH}${TARGET_NAME_MANPAGE}" + "${EXECUTABLE_OUTPUT_PATH}${TARGET_NAME_MANPAGE}" DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH}) ENDIF() diff --git a/source/glest_game/CMakeLists.txt b/source/glest_game/CMakeLists.txt index ad07f6b7..0e4c00c8 100644 --- a/source/glest_game/CMakeLists.txt +++ b/source/glest_game/CMakeLists.txt @@ -293,7 +293,7 @@ IF(BUILD_MEGAGLEST) # Installation of the program manpage file INSTALL(FILES - "${HELP2MAN_OUT_PATH}${TARGET_NAME_MANPAGE}" + "${EXECUTABLE_OUTPUT_PATH}${TARGET_NAME_MANPAGE}" DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH}) ENDIF() diff --git a/source/glest_map_editor/CMakeLists.txt b/source/glest_map_editor/CMakeLists.txt index 8adacc94..d42956c6 100644 --- a/source/glest_map_editor/CMakeLists.txt +++ b/source/glest_map_editor/CMakeLists.txt @@ -184,7 +184,7 @@ IF(BUILD_MEGAGLEST_MAP_EDITOR) # Installation of the program manpage file INSTALL(FILES - "${HELP2MAN_OUT_PATH}{TARGET_NAME_MANPAGE}" + "${EXECUTABLE_OUTPUT_PATH}{TARGET_NAME_MANPAGE}" DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH}) ENDIF()