aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-04-14 22:51:14 -0700
committerAaron Rossetto <aaron.rossetto@ni.com>2020-04-15 14:57:27 -0500
commita01dd2da5b647acf7524a4d064f5942d823c686c (patch)
treed77e078aadd488661b4cf63eb68f9809c041d50a /host
parent1a8e654d691909e894d9129a4896a07b6dd23efd (diff)
downloaduhd-a01dd2da5b647acf7524a4d064f5942d823c686c.tar.gz
uhd-a01dd2da5b647acf7524a4d064f5942d823c686c.tar.bz2
uhd-a01dd2da5b647acf7524a4d064f5942d823c686c.zip
Revert "cmake: Add ability to pass CXXFLAGS to CMake environment"
This reverts commit 49ca8112c2777fcc4b81eff72ce59fb40fa0024d.
Diffstat (limited to 'host')
-rw-r--r--host/CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 8f72ece76..2d966fd22 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -223,9 +223,6 @@ set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING "")
#force UHD_RELEASE_MODE to be a string for cmake-gui
set(UHD_RELEASE_MODE "${UHD_RELEASE_MODE}" CACHE STRING "UHD Release Mode")
-# Add any additional C++ compiler flags passed into CMake through NIUHD_CXXFLAGS variable
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${NIUHD_CXXFLAGS}")
-
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" OR
${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
if(STRIP_BINARIES)