Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: BSD-2-Clause
#

cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)

add_subdirectory(libjansson)
add_subdirectory(libmsgpack)
Expand Down
5 changes: 4 additions & 1 deletion Findprojects_libs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
# SPDX-License-Identifier: BSD-2-Clause
#

set(PROJECTS_LIBS_DIR "${CMAKE_CURRENT_LIST_DIR}" CACHE STRING "")
set(PROJECTS_LIBS_DIR
"${CMAKE_CURRENT_LIST_DIR}"
CACHE STRING ""
)
mark_as_advanced(PROJECTS_LIBS_DIR)

function(projects_libs_import_libraries)
Expand Down
2 changes: 1 addition & 1 deletion libfdtgen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: BSD-2-Clause
#

cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)

project(libfdtgen C)

Expand Down
2 changes: 1 addition & 1 deletion libjansson/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: BSD-2-Clause
#

cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)

project(libjansson C)

Expand Down
2 changes: 1 addition & 1 deletion libjansson/jansson-2.7/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
# the source directory.
# The rest is down to the usual make process.

cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.16.0)
# required for exports? cmake_minimum_required (VERSION 2.8.6)
project(jansson C)

Expand Down
2 changes: 1 addition & 1 deletion libmsgpack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: BSD-2-Clause
#

cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)

project(libmsgpack C)

Expand Down
6 changes: 5 additions & 1 deletion libnfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ if(LibNfs)
add_definitions(-U__linux__)

# find libnfs
find_file(LIBNFS_PATH libnfs PATHS ${CMAKE_SOURCE_DIR} CMAKE_FIND_ROOT_PATH_BOTH)
find_file(
LIBNFS_PATH libnfs
PATHS ${CMAKE_SOURCE_DIR}
CMAKE_FIND_ROOT_PATH_BOTH
)
mark_as_advanced(FORCE LIBNFS_PATH)
if("${LIBNFS_PATH}" STREQUAL "LIBNFS_PATH-NOTFOUND")
message(FATAL_ERROR "Failed to find libnfs. Consider cmake -DLIBNFS_PATH=/path/to/libnfs")
Expand Down
2 changes: 1 addition & 1 deletion libplatsupportports/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#

cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)

project(libplatsupportports C)

Expand Down
295 changes: 0 additions & 295 deletions libplatsupportports/LICENSE_GPLv2.txt

This file was deleted.

2 changes: 1 addition & 1 deletion libringbuffer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: BSD-2-Clause
#

cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)

project(libringbuffer C)

Expand Down
31 changes: 0 additions & 31 deletions libringbuffer/LICENSE_BSD2.txt

This file was deleted.

2 changes: 1 addition & 1 deletion libsdhcdrivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: BSD-2-Clause
#

cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)

project(libsdhcdrivers C)

Expand Down
31 changes: 0 additions & 31 deletions libsdhcdrivers/LICENSE_BSD2.txt

This file was deleted.

2 changes: 1 addition & 1 deletion libtx2bpmp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#

cmake_minimum_required(VERSION 3.7.2)
cmake_minimum_required(VERSION 3.16.0)

project(libtx2bpmp C)

Expand Down
Loading
Loading