From 8eaa8613daa8e433f68587d8a3a30bba2c7b9d4a Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sun, 17 Jul 2016 16:41:48 +0200 Subject: CMake: Remove needless minimum version specifications. --- Tools/AnvilStats/CMakeLists.txt | 3 --- Tools/GeneratorPerformanceTest/CMakeLists.txt | 2 -- Tools/GrownBiomeGenVisualiser/CMakeLists.txt | 3 --- Tools/MCADefrag/CMakeLists.txt | 3 --- Tools/ProtoProxy/CMakeLists.txt | 3 --- src/Bindings/CMakeLists.txt | 1 - src/BlockEntities/CMakeLists.txt | 2 -- src/Blocks/CMakeLists.txt | 2 -- src/CMakeLists.txt | 1 - src/Entities/CMakeLists.txt | 2 -- src/Generating/CMakeLists.txt | 2 -- src/HTTP/CMakeLists.txt | 2 -- src/Items/CMakeLists.txt | 2 -- src/Mobs/CMakeLists.txt | 2 -- src/Noise/CMakeLists.txt | 2 -- src/OSSupport/CMakeLists.txt | 2 -- src/PolarSSL++/CMakeLists.txt | 1 - src/Protocol/CMakeLists.txt | 2 -- src/Simulator/CMakeLists.txt | 2 -- src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt | 1 - src/UI/CMakeLists.txt | 2 -- src/WorldStorage/CMakeLists.txt | 2 -- tests/BoundingBox/CMakeLists.txt | 2 -- tests/ByteBuffer/CMakeLists.txt | 2 -- tests/CMakeLists.txt | 2 -- tests/ChunkData/CMakeLists.txt | 2 -- tests/CompositeChat/CMakeLists.txt | 2 -- tests/HTTP/CMakeLists.txt | 2 -- tests/LoadablePieces/CMakeLists.txt | 2 -- tests/Network/CMakeLists.txt | 2 -- tests/OSSupport/CMakeLists.txt | 2 -- tests/SchematicFileSerializer/CMakeLists.txt | 2 -- 32 files changed, 64 deletions(-) diff --git a/Tools/AnvilStats/CMakeLists.txt b/Tools/AnvilStats/CMakeLists.txt index 688fbe493..865414a6d 100644 --- a/Tools/AnvilStats/CMakeLists.txt +++ b/Tools/AnvilStats/CMakeLists.txt @@ -1,6 +1,3 @@ - -cmake_minimum_required (VERSION 2.8.3) - project (AnvilStats) include(../../SetFlags.cmake) diff --git a/Tools/GeneratorPerformanceTest/CMakeLists.txt b/Tools/GeneratorPerformanceTest/CMakeLists.txt index 8adc88882..e218bd46f 100644 --- a/Tools/GeneratorPerformanceTest/CMakeLists.txt +++ b/Tools/GeneratorPerformanceTest/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required(VERSION 2.8) project(GeneratorPerformanceTest) include_directories(../../src/Generating) diff --git a/Tools/GrownBiomeGenVisualiser/CMakeLists.txt b/Tools/GrownBiomeGenVisualiser/CMakeLists.txt index 0669275cb..e270f6d9a 100644 --- a/Tools/GrownBiomeGenVisualiser/CMakeLists.txt +++ b/Tools/GrownBiomeGenVisualiser/CMakeLists.txt @@ -1,6 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) - project (GrownBiomeGenVisualiser) # Without this, the MSVC variable isn't defined for MSVC builds ( https://www.cmake.org/pipermail/cmake/2011-November/047130.html ) diff --git a/Tools/MCADefrag/CMakeLists.txt b/Tools/MCADefrag/CMakeLists.txt index 104f991a7..efa4abddb 100644 --- a/Tools/MCADefrag/CMakeLists.txt +++ b/Tools/MCADefrag/CMakeLists.txt @@ -1,6 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) - project (MCADefrag) # Without this, the MSVC variable isn't defined for MSVC builds ( https://www.cmake.org/pipermail/cmake/2011-November/047130.html ) diff --git a/Tools/ProtoProxy/CMakeLists.txt b/Tools/ProtoProxy/CMakeLists.txt index 480e6fba8..ea9799780 100644 --- a/Tools/ProtoProxy/CMakeLists.txt +++ b/Tools/ProtoProxy/CMakeLists.txt @@ -1,6 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) - project (ProtoProxy) include(../../SetFlags.cmake) diff --git a/src/Bindings/CMakeLists.txt b/src/Bindings/CMakeLists.txt index 05d4c7e4f..23ba4c7e6 100644 --- a/src/Bindings/CMakeLists.txt +++ b/src/Bindings/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/BlockEntities/CMakeLists.txt b/src/BlockEntities/CMakeLists.txt index 6c164c4b4..8e57c172f 100644 --- a/src/BlockEntities/CMakeLists.txt +++ b/src/BlockEntities/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Blocks/CMakeLists.txt b/src/Blocks/CMakeLists.txt index e9b3ce386..9f46a6809 100644 --- a/src/Blocks/CMakeLists.txt +++ b/src/Blocks/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 075d48968..13bf6e379 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.8.2) project (Cuberite) diff --git a/src/Entities/CMakeLists.txt b/src/Entities/CMakeLists.txt index 0416d5338..488c8da59 100644 --- a/src/Entities/CMakeLists.txt +++ b/src/Entities/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Generating/CMakeLists.txt b/src/Generating/CMakeLists.txt index dd346b6c4..8b0577129 100644 --- a/src/Generating/CMakeLists.txt +++ b/src/Generating/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/HTTP/CMakeLists.txt b/src/HTTP/CMakeLists.txt index acb3ac2cd..03cda2adc 100644 --- a/src/HTTP/CMakeLists.txt +++ b/src/HTTP/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Items/CMakeLists.txt b/src/Items/CMakeLists.txt index 9b3a2d8b5..f7341bb53 100644 --- a/src/Items/CMakeLists.txt +++ b/src/Items/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Mobs/CMakeLists.txt b/src/Mobs/CMakeLists.txt index 4336af7c3..85fdb4b1b 100644 --- a/src/Mobs/CMakeLists.txt +++ b/src/Mobs/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Noise/CMakeLists.txt b/src/Noise/CMakeLists.txt index 4e99347f8..3c9e723d3 100644 --- a/src/Noise/CMakeLists.txt +++ b/src/Noise/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt index ee8067c6f..876b4f789 100644 --- a/src/OSSupport/CMakeLists.txt +++ b/src/OSSupport/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/PolarSSL++/CMakeLists.txt b/src/PolarSSL++/CMakeLists.txt index 3f268ad13..375e6f51e 100644 --- a/src/PolarSSL++/CMakeLists.txt +++ b/src/PolarSSL++/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Protocol/CMakeLists.txt b/src/Protocol/CMakeLists.txt index 3668f0c42..783bcd79c 100644 --- a/src/Protocol/CMakeLists.txt +++ b/src/Protocol/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Simulator/CMakeLists.txt b/src/Simulator/CMakeLists.txt index 98b4499c7..dcd099890 100644 --- a/src/Simulator/CMakeLists.txt +++ b/src/Simulator/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt b/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt index 87052d00a..99d87ce88 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt +++ b/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/UI/CMakeLists.txt b/src/UI/CMakeLists.txt index 6753c453e..e1e82c88d 100644 --- a/src/UI/CMakeLists.txt +++ b/src/UI/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/WorldStorage/CMakeLists.txt b/src/WorldStorage/CMakeLists.txt index 1d8b60140..b16e03160 100644 --- a/src/WorldStorage/CMakeLists.txt +++ b/src/WorldStorage/CMakeLists.txt @@ -1,5 +1,3 @@ - -cmake_minimum_required (VERSION 2.6) project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/tests/BoundingBox/CMakeLists.txt b/tests/BoundingBox/CMakeLists.txt index 30cacc447..10a4164dc 100644 --- a/tests/BoundingBox/CMakeLists.txt +++ b/tests/BoundingBox/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() add_definitions(-DTEST_GLOBALS=1) diff --git a/tests/ByteBuffer/CMakeLists.txt b/tests/ByteBuffer/CMakeLists.txt index 5c82d25d9..49a3f7f75 100644 --- a/tests/ByteBuffer/CMakeLists.txt +++ b/tests/ByteBuffer/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() add_definitions(-DTEST_GLOBALS=1) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a076ffed9..235ebe60d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() if (CMAKE_BUILD_TYPE STREQUAL "COVERAGE") diff --git a/tests/ChunkData/CMakeLists.txt b/tests/ChunkData/CMakeLists.txt index 8c1b10e9f..9fdcd4650 100644 --- a/tests/ChunkData/CMakeLists.txt +++ b/tests/ChunkData/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() include_directories(${CMAKE_SOURCE_DIR}/src/) diff --git a/tests/CompositeChat/CMakeLists.txt b/tests/CompositeChat/CMakeLists.txt index e8120eff5..7666d992f 100644 --- a/tests/CompositeChat/CMakeLists.txt +++ b/tests/CompositeChat/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() add_definitions(-DTEST_GLOBALS=1) diff --git a/tests/HTTP/CMakeLists.txt b/tests/HTTP/CMakeLists.txt index 76f768945..ed5c9daaf 100644 --- a/tests/HTTP/CMakeLists.txt +++ b/tests/HTTP/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() include_directories(${CMAKE_SOURCE_DIR}/src/) diff --git a/tests/LoadablePieces/CMakeLists.txt b/tests/LoadablePieces/CMakeLists.txt index c467d7c38..cebcaba02 100644 --- a/tests/LoadablePieces/CMakeLists.txt +++ b/tests/LoadablePieces/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() include_directories(${CMAKE_SOURCE_DIR}/src/) diff --git a/tests/Network/CMakeLists.txt b/tests/Network/CMakeLists.txt index 2e0915cca..c02a53456 100644 --- a/tests/Network/CMakeLists.txt +++ b/tests/Network/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() include_directories(${CMAKE_SOURCE_DIR}/src/) diff --git a/tests/OSSupport/CMakeLists.txt b/tests/OSSupport/CMakeLists.txt index 8fff570a4..1d487d82c 100644 --- a/tests/OSSupport/CMakeLists.txt +++ b/tests/OSSupport/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() include_directories(${CMAKE_SOURCE_DIR}/src/) diff --git a/tests/SchematicFileSerializer/CMakeLists.txt b/tests/SchematicFileSerializer/CMakeLists.txt index 43b19e4c3..4694421fc 100644 --- a/tests/SchematicFileSerializer/CMakeLists.txt +++ b/tests/SchematicFileSerializer/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - enable_testing() include_directories(${CMAKE_SOURCE_DIR}/src/) -- cgit v1.2.3