Skip to content

Commit

Permalink
Cleanup CMakeLists
Browse files Browse the repository at this point in the history
Removed 'FindPackage(ACE)' not directly used by iCub
Removed legacy cmake instructions
  • Loading branch information
Alberto Cardellino committed Jun 18, 2019
1 parent 1fdfa8a commit 067912e
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 067912e

Please sign in to comment.