aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-01-15 14:42:05 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-01-18 09:37:12 -0800
commit11c7e561fc29b56ade8ae6ec549b21c533540e8a (patch)
treea346b7bd7e561efbb8d61de59c4ac2dec4c18d0b /host/cmake
parenteb1f8f160b803bae60c2af7be35e42ece3b8a62b (diff)
downloaduhd-11c7e561fc29b56ade8ae6ec549b21c533540e8a.tar.gz
uhd-11c7e561fc29b56ade8ae6ec549b21c533540e8a.tar.bz2
uhd-11c7e561fc29b56ade8ae6ec549b21c533540e8a.zip
math: Remove uhd::math::log2, replace with std::log2
Now that we're C++11, we can assume the existence of said symbol and need no more portability hacks.
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/UHDGlobalDefs.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/host/cmake/Modules/UHDGlobalDefs.cmake b/host/cmake/Modules/UHDGlobalDefs.cmake
index 47bb83511..385679258 100644
--- a/host/cmake/Modules/UHDGlobalDefs.cmake
+++ b/host/cmake/Modules/UHDGlobalDefs.cmake
@@ -9,9 +9,6 @@
include(CheckCXXSymbolExistsCopy)
-## Check for std::log2
-CHECK_CXX_SYMBOL_EXISTS(log2 cmath HAVE_LOG2)
-
## Macros for the version number
if(UHD_VERSION_DEVEL)
math(EXPR UHD_VERSION_ADDED "1000000 * ${UHD_VERSION_MAJOR} + 10000 * ${UHD_VERSION_API} + 100 * ${UHD_VERSION_ABI} + 99")