From 1ce28f454bfaca80ffa8f9232d418e22bedc2baf Mon Sep 17 00:00:00 2001 From: Gao Mingfei Date: Fri, 10 Apr 2020 14:50:51 +0800 Subject: [PATCH] Add CMake minimum version required. Interface Libraries feature is not available before CMake 3.0 Signed-off-by: Gao Mingfei --- RapidJSONConfig.cmake.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RapidJSONConfig.cmake.in b/RapidJSONConfig.cmake.in index 8c5ca5fdb..c25d31258 100644 --- a/RapidJSONConfig.cmake.in +++ b/RapidJSONConfig.cmake.in @@ -1,3 +1,7 @@ +################################################################################ +# CMake minimum version required +cmake_minimum_required(VERSION 3.0) + ################################################################################ # RapidJSON source dir set( RapidJSON_SOURCE_DIR "@CONFIG_SOURCE_DIR@")