Skip to content

Commit 138f413

Browse files
committed
fix(tools): remove unnecessary cmake_minimum_version
1 parent c9490dd commit 138f413

11 files changed

Lines changed: 0 additions & 16 deletions

File tree

cmake/CMakeCompiler.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
cmake_minimum_required (VERSION 3.2)
2-
31
macro(setup_default_compiler_flags _project_name)
42
if(MSVC)
53
# Replace some default compiler switches and add new ones

cmake/CMakePlatforms.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
cmake_minimum_required(VERSION 3.2)
2-
31
if(PLATFORM_NAME)
42
return() # Already set
53
endif()

cmake/CMakeUtils.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
cmake_minimum_required (VERSION 3.2)
2-
31
# Create groups for the test source files, this creates the proper directory structure under the
42
# Visual Studio filters
53
macro(create_source_groups _source_files _relative_directory)

cmake/Toolchain-Android.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
cmake_minimum_required(VERSION 3.2)
2-
31
# For Android, we just set the platform name as we won't be using CMake to build anything.
42
# Instead Gradle is used through CMake.
53

cmake/Toolchain-iOS.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
cmake_minimum_required (VERSION 3.2)
2-
31
set(CMAKE_SYSTEM_NAME Darwin)
42

53
# Set here instead of CMakePlatforms.cmake since we can't distinguis otherwise

tests/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cmake_minimum_required (VERSION 3.2)
21
project(sjson-cpp_unit_tests_root NONE)
32

43
if(PLATFORM_ANDROID)

tests/main_android/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cmake_minimum_required(VERSION 3.2)
21
project(sjson-cpp_unit_tests_gradle_shim NONE)
32

43
# Set our project root since our gradle files used to build live in the binary output directory

tests/main_emscripten/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cmake_minimum_required (VERSION 3.2)
21
project(sjson-cpp_unit_tests CXX)
32

43
include_directories("${PROJECT_SOURCE_DIR}/../../includes")

tests/main_generic/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cmake_minimum_required (VERSION 3.2)
21
project(sjson-cpp_unit_tests CXX)
32

43
include_directories("${PROJECT_SOURCE_DIR}/../../includes")

tests/main_ios/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cmake_minimum_required (VERSION 3.2)
21
project(sjson-cpp_unit_tests)
32

43
# iOS cmake toolchain does not support CMAKE_CXX_STANDARD

0 commit comments

Comments
 (0)