summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgateship1 <mg3676@drexel.edu>2020-06-09 09:59:56 -0400
committerMarcus Müller <marcus@hostalia.de>2020-06-22 20:12:44 +0200
commit0adc2c23c7a73ac78a91ff9e2aa4c1727aaa87bc (patch)
treef6cea43c7eeeb1a825e6995cbc84d0297de08202
parentf356b83f005c6ae90ec93e51a35f06daced1d085 (diff)
issue 1687: resolution:
removed if(POLICY CMP0026), if(POLICY CMP0043), if(POLICY CMP0045), > if(POLICY CMP0046)). Compiles cleanly using Ubuntu 18.04.4 LTS > with both CMake version 3.8 and 3.13.4.
-rw-r--r--CMakeLists.txt18
1 files changed, 0 insertions, 18 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8195910e66..39c16da473 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,24 +64,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(GRC_DOCS_URL_PREFIX "https://wiki.gnuradio.org/index.php/")
########################################################################
-# Configure CMake policies
-########################################################################
-# This will suppress developer warnings during the cmake process that can occur
-# if a newer cmake version than the minimum is used.
-if(POLICY CMP0026)
- cmake_policy(SET CMP0026 NEW)
-endif()
-if(POLICY CMP0043)
- cmake_policy(SET CMP0043 NEW)
-endif()
-if(POLICY CMP0045)
- cmake_policy(SET CMP0045 NEW)
-endif()
-if(POLICY CMP0046)
- cmake_policy(SET CMP0046 NEW)
-endif()
-
-########################################################################
# Compiler version setup
########################################################################
# Append -O2 optimization flag for Debug builds (Not on MSVC since conflicts with RTC1 flag)