diff --git a/source/g3d_viewer/CMakeLists.txt b/source/g3d_viewer/CMakeLists.txt index b6925c2db..c6124330b 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 ad07f6b7e..0e4c00c80 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 8adacc942..d42956c60 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()