Add CMake minimum version required.

Interface Libraries feature is not available before CMake 3.0

Signed-off-by: Gao Mingfei <mingfei.gao@ucloud.cn>
This commit is contained in:
Gao Mingfei 2020-04-10 14:50:51 +08:00
parent f376690822
commit 1ce28f454b
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,7 @@
################################################################################
# CMake minimum version required
cmake_minimum_required(VERSION 3.0)
################################################################################
# RapidJSON source dir
set( RapidJSON_SOURCE_DIR "@CONFIG_SOURCE_DIR@")