Cuberite Forum
cmake warnings - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: cmake warnings (/thread-1848.html)



cmake warnings - sphinxc0re - 03-28-2015

I get several warnings from cmake:

including polarssl
CMake Warning (dev) at lib/libevent/cmake/CheckPrototypeDefinition.cmake:29 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

Quoted variables like "EVENT__HAVE_GETHOSTBYNAME_R_3_ARG" will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set
the OLD behavior will be used.
Call Stack (most recent call first):
lib/libevent/CMakeLists.txt:275 (CHECK_PROTOTYPE_DEFINITION)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at lib/libevent/cmake/CheckFunctionExistsEx.cmake:31 (IF):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

Quoted variables like "EVENT__HAVE_EPOLL" will no longer be dereferenced
when the policy is set to NEW. Since the policy is not set the OLD
behavior will be used.
Call Stack (most recent call first):
lib/libevent/CMakeLists.txt:221 (CHECK_FUNCTION_EXISTS_EX)
This warning is for project developers. Use -Wno-dev to suppress it.


The problem might be that our cmakelists are a little bit outdated.


RE: cmake warnings - worktycho - 03-28-2015

Its libevent's cmakelist. You may want to report it to them.