Skip to content

Commit

Permalink
AVRO-3958: [C] Update min cmake version to 3.5 (#2796)
Browse files Browse the repository at this point in the history
We don't use older cmake features and this removes the following warning:

  CMake Deprecation Warning at CMakeLists.txt:19 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.

    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.

Signed-off-by: Sahil Kang <[email protected]>
Signed-off-by: Sahil Kang <[email protected]>
  • Loading branch information
SahilKang authored Mar 11, 2024
1 parent 52f051d commit 8fed1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.5)
project(AvroC C)
enable_testing()

Expand Down

0 comments on commit 8fed1db

Please sign in to comment.