Skip to content

[Media Common] Update cmake_minimum_required to 3.5 consisently across CMakeLists #1919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 Tools/MediaDriverTools/GenDmyHex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

cmake_minimum_required (VERSION 2.8)
cmake_minimum_required(VERSION 3.5)
project(IntelGenDmyHexTool)
add_compile_options(-std=c++11)

Expand Down
2 changes: 1 addition & 1 deletion Tools/MediaDriverTools/GenKrnBin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 3.5)

project(GenKrnBin)

Expand Down
2 changes: 1 addition & 1 deletion Tools/MediaDriverTools/KernelBinToSource/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

cmake_minimum_required (VERSION 2.8)
cmake_minimum_required(VERSION 3.5)
project(IntelKernelBinToSourceTool)
add_compile_options(-std=c++11)

Expand Down
2 changes: 1 addition & 1 deletion Tools/MediaDriverTools/KrnToHex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

cmake_minimum_required (VERSION 2.8)
cmake_minimum_required(VERSION 3.5)
project(KrnToHexTool)
add_compile_options(-std=c++11)

Expand Down
2 changes: 1 addition & 1 deletion Tools/MediaDriverTools/KrnToHex_IGA/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 3.5)

project(KrnToHex_IGA)

Expand Down
2 changes: 1 addition & 1 deletion cmrtlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# OTHER DEALINGS IN THE SOFTWARE.

set(BUILD_ALL $ENV{BUILD_ALL})
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.5)
project(CM_RT)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/linux)

2 changes: 1 addition & 1 deletion cmrtlib/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.5)
include (${CMAKE_CURRENT_LIST_DIR}/cmrt_utils.cmake)


Expand Down
2 changes: 1 addition & 1 deletion media_driver/linux/ult/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.5)

if ("${BUILD_TYPE}" STREQUAL "debug")
set(CMAKE_BUILD_TYPE "Debug")
Expand Down
2 changes: 1 addition & 1 deletion media_driver/linux/ult/libdrm_mock/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.5)

project(libdrm_mock)

Expand Down
2 changes: 1 addition & 1 deletion media_driver/linux/ult/ult_app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.5)

project(devult)

Expand Down
2 changes: 1 addition & 1 deletion media_driver/linux/ult/ult_app/googletest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.5)

project(devult)

Expand Down
2 changes: 1 addition & 1 deletion os_release_info.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ set(_os_release_info TRUE)
# of the local cmake environment.

# Set cmake policies for at least this level:
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.5)


# Function get_os_release_info - Determine and return OS name and version
Expand Down