require cmake>=3.5 to silence deprecation warning

This commit is contained in:
F. Duncanh
2023-09-05 23:51:14 -04:00
parent 5051fc3ac7
commit 49cd0018ed
8 changed files with 14 additions and 10 deletions

View File

@@ -1,4 +1,8 @@
cmake_minimum_required( VERSION 3.4.3 )
if ( APPLE )
cmake_minimum_required( VERSION 3.13 )
else ()
cmake_minimum_required( VERSION 3.5 )
endif ()
project( uxplay )

View File

@@ -239,7 +239,7 @@ libraries installed. Debian-based systems provide a package
“build-essential” for use in compiling software. You also need
pkg-config: if it is not found by “<code>which pkg-config</code>”,
install pkg-config or its work-alike replacement pkgconf. Also make sure
that cmake&gt;=3.4.1 is installed:
that cmake&gt;=3.5 is installed:
<code>sudo apt-get install cmake</code>” (add
<code>build-essential</code> and <code>pkg-config</code> (or
<code>pkgconf</code>) to this if needed).</p>

View File

@@ -191,7 +191,7 @@ You need a C/C++ compiler (e.g. g++) with the standard development libraries
installed. Debian-based systems provide a package "build-essential" for use
in compiling software. You also need pkg-config: if it is not found
by "`which pkg-config`", install pkg-config or its work-alike replacement
pkgconf. Also make sure that cmake>=3.4.1 is installed:
pkgconf. Also make sure that cmake>=3.5 is installed:
"`sudo apt-get install cmake`" (add ``build-essential`` and `pkg-config`
(or ``pkgconf``) to this if needed).

View File

@@ -240,7 +240,7 @@ libraries installed. Debian-based systems provide a package
"build-essential" for use in compiling software. You also need
pkg-config: if it is not found by "`which pkg-config`", install
pkg-config or its work-alike replacement pkgconf. Also make sure that
cmake\>=3.4.1 is installed: "`sudo apt-get install cmake`" (add
cmake\>=3.5 is installed: "`sudo apt-get install cmake`" (add
`build-essential` and `pkg-config` (or `pkgconf`) to this if needed).
Make sure that your distribution provides OpenSSL 1.1.1 or later, and

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.4.1)
cmake_minimum_required(VERSION 3.5)
include_directories( playfair llhttp )
message( STATUS "*** CFLAGS \"" ${CMAKE_C_FLAGS} "\" from build environment will be postpended to CMAKE_CFLAGS" )

View File

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.4.1)
cmake_minimum_required(VERSION 3.5)
aux_source_directory(. llhttp_src)
set(DIR_SRCS ${llhttp_src})
include_directories(.)
add_library( llhttp
STATIC
${DIR_SRCS})
${DIR_SRCS})

View File

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.4.1)
cmake_minimum_required(VERSION 3.5)
aux_source_directory(. playfair_src)
set(DIR_SRCS ${playfair_src})
include_directories(.)
add_library( playfair
STATIC
${DIR_SRCS})
${DIR_SRCS})

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.4.1)
cmake_minimum_required(VERSION 3.5)
if (APPLE )
set( ENV{PKG_CONFIG_PATH} "/Library/FrameWorks/GStreamer.framework/Libraries/pkgconfig" ) # GStreamer.framework, preferred