Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown CMake command "add_style_check_target". #3081

Closed
fty8788 opened this issue Jul 27, 2017 · 1 comment
Closed

Unknown CMake command "add_style_check_target". #3081

fty8788 opened this issue Jul 27, 2017 · 1 comment
Labels
User 用于标记用户问题

Comments

@fty8788
Copy link

fty8788 commented Jul 27, 2017

在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.

@kuke kuke added the User 用于标记用户问题 label Jul 28, 2017
@kuke
Copy link
Contributor

kuke commented Jul 28, 2017

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

@kuke kuke closed this as completed Jul 28, 2017
heavengate pushed a commit to heavengate/Paddle that referenced this issue Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User 用于标记用户问题
Projects
None yet
Development

No branches or pull requests

2 participants