Skip to content

CMake 4.0対応 #563

Description

@Nobu19800

Is your feature request related to a problem? Please describe.
CMake 4.0では過去のバージョンとの互換性を切り捨てており、現状のRTC Builderの出力するコードの以下の箇所でエラーが出る。

cmake_minimum_required(VERSION 2.8 FATAL_ERROR) #この行でエラー
if(POLICY CMP0048)
  cmake_policy(SET CMP0048 OLD) #この行でエラー
endif()

一応、-DCMAKE_POLICY_VERSION_MINIMUM=3.5のオプションで解消は可能である。

Describe the solution you'd like
RTCのCMake 4.0への対応を考える。

  • CMake 4.0には対応しない。
  • CMake 4.1で変更があるか様子見する。
  • CMake 4.0に対応したコードを出力するようにして、CMake 3系は対応をやめる
  • CMake 4.0と3系に両対応する

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions