Skip to content

Commit

Permalink
Merge pull request #583 from barbalberto/CMake_cleanup
Browse files Browse the repository at this point in the history
Removed deprecated cmake instructions
  • Loading branch information
pattacini authored Jun 19, 2019
2 parents 1fdfa8a + 067912e commit 578c9ea
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,8 @@
# Authors: Lorenzo Natale
# CopyPolicy: Released under the terms of the GNU GPL v2.0.

# New build system. Exploit new cmake 2.6 features (export).

#reduce warning level with cmake 2.6
cmake_minimum_required(VERSION 3.5)

#cmake policies
# CMake Policy CMP0020 (Automatically link Qt executables to qtmain
# target on Windows). Can be removed with
# CMAKE_MINIMUM_REQUIRED_VERSION 2.8.11 or later.
if(NOT ${CMAKE_MINIMUM_REQUIRED_VERSION} VERSION_LESS 2.8.11)
message(AUTHOR_WARNING "CMake Policy CMP0020 is now NEW by default. You can remove this.")
endif()
if(NOT ${CMAKE_VERSION} VERSION_LESS 2.8.11)
cmake_policy(SET CMP0020 NEW)
endif()

project(iCub)

set(CMAKE_CXX_EXTENSIONS OFF)
Expand Down

0 comments on commit 578c9ea

Please sign in to comment.