summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindPython/FindPythonScript.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2025-12-05 17:28:01 (GMT)
committerBrad King <brad.king@kitware.com>2025-12-05 17:47:53 (GMT)
commit8c332a3c7f8cce943e9916ddc0e98b4544f1d673 (patch)
tree3effe81214b3637e49a469cec509f138f0797583 /Tests/RunCMake/FindPython/FindPythonScript.cmake
parent121234b9683bb9dea0ea1983528290ba04f91a02 (diff)
downloadCMake-8c332a3c7f8cce943e9916ddc0e98b4544f1d673.zip
CMake-8c332a3c7f8cce943e9916ddc0e98b4544f1d673.tar.gz
CMake-8c332a3c7f8cce943e9916ddc0e98b4544f1d673.tar.bz2
VS: Restore support for VS 2019 with toolset v142 versions before 14.29
Since commit 7db3dbddb2 (VS: Suppress MSBuild default flags not specified by project or user, 2025-06-02, v4.1.0-rc1~69^2) we suppress the `-Zc:inline` default flag when the project/user does not specify it. That triggers an apparent bug in VS 2019 with v142 toolset versions before 14.29 in which MSBuild fails when both `-Zc:inline` and `-nologo` are suppressed. This happens when `CMAKE_VERBOSE_MAKEFILE` is enabled, such as in `try_compile` projects like our builtin compiler inspection. Since `-nologo` is incidental, avoid suppressing it if `-Zc:inline` is also suppressed. Limit this workaround to relevant toolset versions. Fixes: #27439
Diffstat (limited to 'Tests/RunCMake/FindPython/FindPythonScript.cmake')
0 files changed, 0 insertions, 0 deletions