zeromq / zmqpp

0mq 'highlevel' C++ bindings
http://zeromq.github.io/zmqpp
Mozilla Public License 2.0
439 stars 195 forks source link

Fix cmake "No project() command is present" and "implicitly converting 'bool' to 'STRING' type" warnings #229

Closed williamleong closed 4 years ago

williamleong commented 4 years ago

Fixes:

CMake Warning (dev) at libraries/zmqpp/CMakeLists.txt:63 (set):
implicitly converting 'bool' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

and

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.
This warning is for project developers.  Use -Wno-dev to suppress it.