mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
211 stars 124 forks source link

Fix CMake 3.31 warning about install paths #38437

Open jclarkeSTFC opened 1 week ago

jclarkeSTFC commented 1 week ago

Describe the outcome that is desired. Running cmake will now generate a few warnings similar to this:

CMake Warning (dev) at Framework/CMakeLists.txt:79 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

We should fix that.

Describe any solutions you are considering Either we fix the paths that are being normalised, or disable the warning.

Additional context See here for details about the warning.