mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cmake build:
Handle option "LYX_DEVEL_VERSION" to add the preprocesor definition of DEVEL_VERSION The effect should be alike the configure parameter "--enable-build-type=dev"
This commit is contained in:
parent
210ea2dd01
commit
8217df8a68
@ -24,6 +24,12 @@
|
||||
#endif
|
||||
|
||||
|
||||
#cmakedefine LYX_DEVEL_VERSION 1
|
||||
#if defined(LYX_DEVEL_VERSION)
|
||||
#define DEVEL_VERSION 1
|
||||
#else
|
||||
#undef DEVEL_VERSION
|
||||
#endif
|
||||
#cmakedefine PACKAGE "${PACKAGE}"
|
||||
#cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
|
||||
#define PACKAGE_STRING "LyX ${PACKAGE_VERSION}"
|
||||
|
Loading…
Reference in New Issue
Block a user