[MacPorts] #53201: cmake, "compile features" and macports-clang

MacPorts noreply at macports.org
Tue Jan 3 20:25:07 UTC 2017


#53201: cmake, "compile features" and macports-clang
---------------------+-----------------
  Reporter:  RJVB    |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  cmake   |
---------------------+-----------------

Comment (by neverpanic):

 Please do not attempt to change `cmake_minimum_required(VERSION)` from the
 command line; it's meant to simplify backwards-incompatible changes in
 CMake, and setting it to something on random CMakeLists.txt files is
 begging for problems.

 You can probably run `cmake_policy(SET CMP0025 NEW)` in a CMake Toolchain
 file passed using `-DCMAKE_TOOLCHAIN_FILE`. However, this looks a lot like
 a CMake bug to me, and rather than running in circles around that bug, you
 should report it to the developers of CMake and have them fix it. If
 you've done that already, please provide a link to the bug report.

--
Ticket URL: <https://trac.macports.org/ticket/53201#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list