google / s2geometry

Computational geometry and spatial indexing on the sphere
http://s2geometry.io/
Apache License 2.0
2.32k stars 308 forks source link

cmake swig warnings #215

Open jmr opened 2 years ago

jmr commented 2 years ago
CMake Warning (dev) at /usr/share/cmake-3.21/Modules/UseSWIG.cmake:765 (message):
  Policy CMP0078 is not set: UseSWIG generates standard target names.  Run
  "cmake --help-policy CMP0078" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

Call Stack (most recent call first):
  src/python/CMakeLists.txt:8 (swig_add_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.21/Modules/UseSWIG.cmake:607 (message):
  Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module
  flag.  Run "cmake --help-policy CMP0086" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /usr/share/cmake-3.21/Modules/UseSWIG.cmake:877 (SWIG_ADD_SOURCE_TO_MODULE)
  src/python/CMakeLists.txt:8 (swig_add_library)
This warning is for project developers.  Use -Wno-dev to suppress it.