Skip to content

Windows版のMroongaが新しいcmakeでビルドするときに警告を出している #126

Description

@cosmo0920

以下のような情報があると、issueを見た人がスムーズに作業できるはず。

💭 時間がないときは書かなくても 🆗

  • issue tracker や repository の URL
    • GitHub 上のプロジェクトは見つけやすいけど、それ以外のプロジェクトは知らないと探すのに時間がかかってしまうため

https://github.com/mroonga/mroonga

MariaDB の問題と分かった場合はJIRA

https://jira.mariadb.org/secure/Dashboard.jspa

  • 発見した問題についての情報
    • 実際に発生したこと(スタックトレースやログがあればなるべく省略しない)
    • 再現手順
PS> git clone https://github.com/cosmo0920/PowerShell-for-Mroonga-building mrnwork
PS> cd mrnwork
PS> cd powershell
PS> .\build-vs2017.ps1

ビルド中に以下の警告が現れます。ビルドは正常に終了します。

...
cd build-vc2017-zip-32

C:\mrnwork\powershell\work\build-vc2017-zip-32>cmake ..\source -G "Visual Studio 15 2017"   -DMRN_GROONGA_EMBED=OFF   -DMRN_GROONGA_NORMALIZER_MYSQL_EMBED=OFF   -DGRN_WITH_BUNDLED_LZ4=ON   -DGRN_WITH_BUNDLED_MECAB=ON    1>config.log
CMake Deprecation Warning at CMakeLists.txt:26 (CMAKE_POLICY):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:34 (CMAKE_POLICY):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at cmake/for_clients.cmake:15 (CMAKE_POLICY):
  The OLD behavior for policy CMP0007 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  CMakeLists.txt:422 (INCLUDE)
  • 発生した環境(OSや使用したライブラリーやアプリケーションのバージョンなど)

    • WIndows 10 Home Fall Creators Update(1709)
    • Visual Studio 2017 Community
    • cmake 3.10.2
  • 期待する結果

警告が発生しないこと。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions