Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

Unknown CMake command "add_style_check_target".

Open fty8788 opened this issue 9 years ago • 1 comments

在Paddle/paddle/capi下cmake . 出错: CMake Error at CMakeLists.txt:26 (add_style_check_target): Unknown CMake command "add_style_check_target".

CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.2)

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.

fty8788 avatar Jul 27 '17 03:07 fty8788

This problem has been solved by following the suggestion that build Paddle with option WITH_C_API=ON

kuke avatar Jul 28 '17 03:07 kuke