Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
675
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. CMake Warning (dev) in CMakeLists.txt:
  2. No project() command is present. The top-level CMakeLists.txt file must
  3. contain a literal, direct call to the project() command. Add a line of
  4. code such as
  5.  
  6. project(ProjectName)
  7.  
  8. near the top of the file, but after cmake_minimum_required().
  9.  
  10. CMake is pretending there is a "project(Project)" command on the first
  11. line.
  12. This warning is for project developers. Use -Wno-dev to suppress it.
  13.  
  14. CMake Error at CMakeLists.txt:2 (add_gtest):
  15. Unknown CMake command "add_gtest".
  16.  
  17.  
  18. CMake Warning (dev) in CMakeLists.txt:
  19. No cmake_minimum_required command is present. A line of code such as
  20.  
  21. cmake_minimum_required(VERSION 3.16)
  22.  
  23. should be added at the top of the file. The version specified may be lower
  24. if you wish to support older CMake versions for this project. For more
  25. information run "cmake --help-policy CMP0000".
  26. This warning is for project developers. Use -Wno-dev to suppress it.
  27.  
  28. -- Configuring incomplete, errors occurred!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement