Skip to content

Commit

Permalink
remove extra cmake_minimum_required
Browse files Browse the repository at this point in the history
  • Loading branch information
calccrypto committed Feb 11, 2025
1 parent 9096c70 commit 0184405
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 26 deletions.
2 changes: 0 additions & 2 deletions config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

include(ProcessorCount)
ProcessorCount(CORES)

Expand Down
2 changes: 0 additions & 2 deletions contrib/CI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,5 @@



cmake_minimum_required(VERSION 3.5.0)

configure_file(generic_rpm.sh.in generic_rpm.sh @ONLY)
configure_file(rpms.sh.in rpms.sh @ONLY)
2 changes: 0 additions & 2 deletions contrib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

set(CONTRIB_SOURCES
gendir.c # simple source tree generator
treediff.c # walk two trees and print the names that don't match
Expand Down
2 changes: 0 additions & 2 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

# build man pages
add_subdirectory(man)

Expand Down
1 change: 0 additions & 1 deletion docs/latex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)
SET(LATEX_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/pdfs)

INCLUDE(UseLATEX)
Expand Down
2 changes: 0 additions & 2 deletions docs/man/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

set(MAN_PAGES
bfwreaddirplus2db.1
gufi_dir2index.1
Expand Down
2 changes: 0 additions & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

# copy test scripts into the test directory within the build directory
# list these explicitly to prevent random garbage from getting in
foreach(EXAMPLE
Expand Down
2 changes: 0 additions & 2 deletions scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

# gufi_* scripts
set(TOOLS
find
Expand Down
2 changes: 0 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

include(CheckSymbolExists)
check_symbol_exists(localtime_r "time.h" LOCALTIME_R)
if (LOCALTIME_R)
Expand Down
2 changes: 0 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

# allow for the test working directory to be moved
set(TEST_WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" CACHE PATH "Directory to run tests in")
execute_process(COMMAND "${CMAKE_COMMAND}" -E make_directory "${TEST_WORKING_DIRECTORY}")
Expand Down
2 changes: 0 additions & 2 deletions test/regression/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

# regression test specific files
set(CORE
generatetree.sh
Expand Down
2 changes: 0 additions & 2 deletions test/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

# not using VERSION_GREATER_EQUAL just in case CMake version is less than 3.7
if (NOT ("${CMAKE_VERSION}" VERSION_LESS "3.5.0"))
if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "CYGWIN")
Expand Down
1 change: 0 additions & 1 deletion test/unit/googletest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@


# https://github.com/hpc/hxhim/blob/master/test/CMakeLists.txt
cmake_minimum_required(VERSION 3.5.0)

include(CheckLanguage)

Expand Down
2 changes: 0 additions & 2 deletions test/unit/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@



cmake_minimum_required(VERSION 3.5.0)

set(TESTS
gufi_common
gufi_config
Expand Down

0 comments on commit 0184405

Please sign in to comment.