Add variable program_suffix to handle manuals properly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28738 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Kornel Benko 2009-03-09 14:30:28 +00:00
parent 9c0b6cf700
commit 9fb1b3aa00

View File

@ -8,6 +8,7 @@
project(man) project(man)
SET(_manuals) SET(_manuals)
set(program_suffix ${PROGRAM_SUFFIX})
macro(add_manual _mansrc) macro(add_manual _mansrc)
get_filename_component(_mandest ${_mansrc} NAME_WE) get_filename_component(_mandest ${_mansrc} NAME_WE)
SET(_created_manual "${CMAKE_CURRENT_BINARY_DIR}/${_mandest}${PROGRAM_SUFFIX}.1") SET(_created_manual "${CMAKE_CURRENT_BINARY_DIR}/${_mandest}${PROGRAM_SUFFIX}.1")