From c463c42f343696c65d12fb1f4b5fafd5b9c59ab6 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 25 Oct 2011 17:27:28 -0700 Subject: uhd: change how we configure version.cpp use configure_file vs defines, Possible fix for messaged up dependency/caching issue, see when changing CMakeLists, even in small ways. --- host/lib/version.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/version.cpp') diff --git a/host/lib/version.cpp b/host/lib/version.cpp index cfd198a08..6925b35bc 100644 --- a/host/lib/version.cpp +++ b/host/lib/version.cpp @@ -26,12 +26,12 @@ UHD_STATIC_BLOCK(print_system_info){ << BOOST_PLATFORM << "; " << BOOST_COMPILER << "; " << "Boost_" << BOOST_VERSION << "; " - << "UHD_" << UHD_VERSION_STRING + << "UHD_" << uhd::get_version_string() << std::endl << std::endl ; } #endif std::string uhd::get_version_string(void){ - return UHD_VERSION_STRING; + return "@UHD_VERSION@-@UHD_BUILD_INFO@"; } -- cgit v1.2.3