Skip to content

Commit

Permalink
Add project call to top-level CMakeLists.txt file (#61)
Browse files Browse the repository at this point in the history
Summary:
Running cmake shows this warning:
```
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
```

Add a `project(Hermes)` to silence the warning.
Pull Request resolved: facebook#61

Reviewed By: mhorowitz

Differential Revision: D16421392

Pulled By: dulinriley

fbshipit-source-id: c53a68792389ba0368ef5c19a96ba7eb32a26d86
  • Loading branch information
dulinriley authored and facebook-github-bot committed Jul 22, 2019
1 parent 208e827 commit c23dfd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ else()
cmake_minimum_required(VERSION 3.6.0)
endif()

project(Hermes)

include(CheckCXXCompilerFlag)
include(CheckCXXSourceCompiles)

Expand Down

0 comments on commit c23dfd4

Please sign in to comment.