mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
cmake: no version suffix for binaries on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34821 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8ed3c9ce25
commit
f8620690b6
@ -38,9 +38,10 @@ LYX_OPTION(PROFILE "Build profile version" OFF GCC)
|
||||
LYX_OPTION(USE_EXTERNAL_BOOST "Use external boost" OFF GCC)
|
||||
LYX_OPTION(USE_EXTERNAL_LIBINTL "Use external libintl" ON ALL)
|
||||
LYX_OPTION(INSTALL "Build install projects/rules" ON ALL)
|
||||
LYX_OPTION(USE_VERSION_SUFFIX "Use version suffix for packaging" OFF ALL)
|
||||
LYX_OPTION(PACKAGE_SUFFIX "Use version suffix for packaging" OFF ALL)
|
||||
LYX_OPTION(PROGRAM_SUFFIX "Append version suffix to binaries" ON GCC)
|
||||
LYX_OPTION(NO_CONSOLE "Suppress console on Windows" OFF MSVC)
|
||||
LYX_OPTION(VLD "Use VLD on with MSVC" OFF MSVC)
|
||||
LYX_OPTION(VLD "Use VLD with MSVC" OFF MSVC)
|
||||
LYX_OPTION(DISABLE_PCH "Disable precompiled headers" ON ALL)
|
||||
LYX_OPTION(MERGE_FILES "Merge source files into one compilation unit" OFF ALL)
|
||||
LYX_OPTION(DEBUG_GLIBC "Enable libstdc++ debug mode" OFF GCC)
|
||||
@ -122,11 +123,16 @@ foreach(_c_l ${_config_lines} )
|
||||
endif()
|
||||
endforeach(_c_l)
|
||||
|
||||
if(LYX_USE_VERSION_SUFFIX)
|
||||
|
||||
if(LYX_PACKAGE_SUFFIX)
|
||||
set(PACKAGE ${PACKAGE_BASE}${LYX_INSTALL_SUFFIX})
|
||||
set(PROGRAM_SUFFIX "${LYX_INSTALL_SUFFIX}")
|
||||
else()
|
||||
set(PACKAGE ${PACKAGE_BASE})
|
||||
endif()
|
||||
|
||||
if(LYX_PROGRAM_SUFFIX)
|
||||
set(PROGRAM_SUFFIX "${LYX_INSTALL_SUFFIX}")
|
||||
else()
|
||||
set(PROGRAM_SUFFIX "")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user