From 8e0670c68460879a46f92281a169a9f4dfa08b4a Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 25 Sep 2017 19:01:56 +0100 Subject: [PATCH] version: fix link to new version strings p2p uses it, and the cpp file needs to know the symbols should be public --- src/p2p/CMakeLists.txt | 1 + src/version.cpp.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/p2p/CMakeLists.txt b/src/p2p/CMakeLists.txt index 2e34db5d1..123b0a272 100644 --- a/src/p2p/CMakeLists.txt +++ b/src/p2p/CMakeLists.txt @@ -39,6 +39,7 @@ monero_add_library(p2p ${P2P}) target_link_libraries(p2p PUBLIC epee + version ${UPNP_LIBRARIES} ${Boost_CHRONO_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY} diff --git a/src/version.cpp.in b/src/version.cpp.in index 320a8d58a..d1444f867 100644 --- a/src/version.cpp.in +++ b/src/version.cpp.in @@ -3,6 +3,8 @@ #define DEF_MONERO_RELEASE_NAME "Helium Hydra" #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 = DEF_MONERO_VERSION; const char* const MONERO_RELEASE_NAME = DEF_MONERO_RELEASE_NAME;