Skip to content

Commit

Permalink
build: suppress the warning
Browse files Browse the repository at this point in the history
DRY
bump the version
  • Loading branch information
tomoaki0705 committed Jul 12, 2022
1 parent 70492c2 commit 87ef6a9
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/carotene/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.11 FATAL_ERROR)
cmake_minimum_required(VERSION ${MIN_VER_CMAKE} FATAL_ERROR)

project(Carotene)

Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/carotene/hal/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
cmake_minimum_required(VERSION ${MIN_VER_CMAKE} FATAL_ERROR)

include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenCVDetectHalide.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION ${MIN_VER_CMAKE})

if(" ${HALIDE_ROOT_DIR}" STREQUAL " ")
unset(HALIDE_ROOT_DIR CACHE)
Expand Down
2 changes: 1 addition & 1 deletion modules/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ add_subdirectory(python3)

else() # standalone build

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.12.2)
project(OpenCVPython CXX C)
include("./standalone.cmake")

Expand Down
2 changes: 1 addition & 1 deletion platforms/android/android.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
#
# ------------------------------------------------------------------------------

cmake_minimum_required( VERSION 2.6.3 )
cmake_minimum_required( VERSION 2.8.12.2 )

if( DEFINED CMAKE_CROSSCOMPILING )
# subsequent toolchain loading is not really needed
Expand Down
2 changes: 1 addition & 1 deletion platforms/linux/gnu.toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 2.8.12.2)

# load settings in case of "try compile"
set(TOOLCHAIN_CONFIG_FILE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/toolchain.config.cmake")
Expand Down
2 changes: 1 addition & 1 deletion samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ else()
# Standalone mode
#
#===================================================================================================
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 2.8.12.2)

project(samples C CXX)
option(BUILD_EXAMPLES "Build samples" ON)
Expand Down
2 changes: 1 addition & 1 deletion samples/cpp/example_cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# cmake needs this line
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 2.8.12.2)

# Define project name
project(opencv_example_project)
Expand Down
2 changes: 1 addition & 1 deletion samples/hal/c_hal/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR)

set(PROJECT_NAME "c_hal")
set(HAL_LIB_NAME "c_hal")
Expand Down
2 changes: 1 addition & 1 deletion samples/hal/slow_hal/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR)

set(PROJECT_NAME "slow_hal")
set(HAL_LIB_NAME "slow_hal")
Expand Down
2 changes: 1 addition & 1 deletion samples/openvx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ocv_install_example_src(cpp *.cpp *.hpp CMakeLists.txt)

cmake_minimum_required(VERSION 2.8.9)
cmake_minimum_required(VERSION 2.8.12.2)

set(OPENCV_OPENVX_SAMPLE_REQUIRED_DEPS
opencv_core
Expand Down

0 comments on commit 87ef6a9

Please sign in to comment.