summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/Python3Fail
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-02-28 13:43:28 (GMT)
committerBrad King <brad.king@kitware.com>2018-02-28 13:52:19 (GMT)
commit1ac042aa67c0e0ab531cd38977cb2f65fd96ed4b (patch)
treed62b4e882a612f3369efb3ca7476fa930b80f1c8 /Tests/FindPython/Python3Fail
parent82de05088f762371c6cd753ae19533dc9f5cd6b2 (diff)
downloadCMake-1ac042aa67c0e0ab531cd38977cb2f65fd96ed4b.zip
CMake-1ac042aa67c0e0ab531cd38977cb2f65fd96ed4b.tar.gz
CMake-1ac042aa67c0e0ab531cd38977cb2f65fd96ed4b.tar.bz2
Do not generate rules for .def generation where not supported
Our `cmake -E __create_def` helper used for `WINDOWS_EXPORT_ALL_SYMBOLS` and merging of multiple `.def` files is available only with CMake hosted on Windows. However, we may generate use of it on other platforms since commit v3.9.0-rc1~405^2 (Support WINDOWS_EXPORT_ALL_SYMBOLS with `.def` files, 2017-03-13) when multiple `.def` files are listed. This results in a build error because the tool doesn't exist. Fix our logic to avoid using the tool on non-Windows platforms. Instead silently ignore all but the first `.def` source as we did before. Issue: #17773
Diffstat (limited to 'Tests/FindPython/Python3Fail')
0 files changed, 0 insertions, 0 deletions