mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
72e7c45e98
Since 3.19, CMake generates a deprecation warning when using a minimum version less than 2.8.12. This eliminates those warnings generated during tests, which are typically hidden from the user and developer but are being generated nonetheless.
4 lines
135 B
CMake
4 lines
135 B
CMake
cmake_minimum_required(VERSION 2.8.12)
|
|
project(MissingSourceFile C)
|
|
add_executable(MissingSourceFile DoesNotExist/MissingSourceFile.c)
|