mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
version: fix link to new version strings
p2p uses it, and the cpp file needs to know the symbols should be public
This commit is contained in:
parent
5530a0e4db
commit
8e0670c684
2 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,7 @@ monero_add_library(p2p ${P2P})
|
||||||
target_link_libraries(p2p
|
target_link_libraries(p2p
|
||||||
PUBLIC
|
PUBLIC
|
||||||
epee
|
epee
|
||||||
|
version
|
||||||
${UPNP_LIBRARIES}
|
${UPNP_LIBRARIES}
|
||||||
${Boost_CHRONO_LIBRARY}
|
${Boost_CHRONO_LIBRARY}
|
||||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
#define DEF_MONERO_RELEASE_NAME "Helium Hydra"
|
#define DEF_MONERO_RELEASE_NAME "Helium Hydra"
|
||||||
#define DEF_MONERO_VERSION_FULL DEF_MONERO_VERSION "-" DEF_MONERO_VERSION_TAG
|
#define DEF_MONERO_VERSION_FULL DEF_MONERO_VERSION "-" DEF_MONERO_VERSION_TAG
|
||||||
|
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
const char* const MONERO_VERSION_TAG = DEF_MONERO_VERSION_TAG;
|
const char* const MONERO_VERSION_TAG = DEF_MONERO_VERSION_TAG;
|
||||||
const char* const MONERO_VERSION = DEF_MONERO_VERSION;
|
const char* const MONERO_VERSION = DEF_MONERO_VERSION;
|
||||||
const char* const MONERO_RELEASE_NAME = DEF_MONERO_RELEASE_NAME;
|
const char* const MONERO_RELEASE_NAME = DEF_MONERO_RELEASE_NAME;
|
||||||
|
|
Loading…
Reference in a new issue