Skip to content

Commit b3fc4b2

Browse files
vyasrJens-G
authored andcommitted
Update minimum required CMake version for CMake 4.0 compatibility
1 parent 5e6d1b7 commit b3fc4b2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919

20-
cmake_minimum_required(VERSION 3.4)
20+
cmake_minimum_required(VERSION 3.16)
2121

2222
if(POLICY CMP0048)
2323
cmake_policy(SET CMP0048 NEW) # package version behavior added in cmake 3.0

compiler/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919

20-
cmake_minimum_required(VERSION 3.3)
20+
cmake_minimum_required(VERSION 3.16)
2121
project("thrift-compiler" VERSION ${PACKAGE_VERSION})
2222

2323
# version.h now handled via veralign.sh

compiler/cpp/tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818
#
19-
cmake_minimum_required(VERSION 2.8.12)
19+
cmake_minimum_required(VERSION 3.16)
2020

2121
project(thrift_compiler_tests)
2222

0 commit comments

Comments
 (0)