From a554fab5fbde28c08e84cfe334ebbfbcba469c23 Mon Sep 17 00:00:00 2001 From: wdl1697454803 <50978870+wdl1697454803@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:26:25 +0800 Subject: [PATCH] add cmake minimum required 3.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pkg_check_modules在cmake的3.6.0及以上版本才支持参数IMPORTED_TARGET --- player/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/player/CMakeLists.txt b/player/CMakeLists.txt index 5b332bb9..9c2d74f6 100644 --- a/player/CMakeLists.txt +++ b/player/CMakeLists.txt @@ -21,6 +21,8 @@ # SOFTWARE. # +cmake_minimum_required(VERSION 3.6.0) + set(LINK_LIBRARIES ${MK_LINK_LIBRARIES}) find_package(PkgConfig QUIET)