|
用CMakelists生成工程文件时,FreeType被跳过,单独用FreeType目录下的CMakelist.txt生成工程文件,出现错误,提示:
CMake Error at CMakeLists.txt:23 (SETUP_PLUGIN):
Unknown CMake command "SETUP_PLUGIN".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
我的CMake版本是2.8.1,不知道如何处置,请教高手. |
|