diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-15 22:17:37 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-15 23:13:17 +0100 |
commit | 249b758b0dbd833a172fd6cab9c64345174dbdf0 (patch) | |
tree | 54b91b56bda16018ba5b90c92911956d09403962 /core | |
parent | bd9dad7371f88dcebab53fd871f9ecf5397fc033 (diff) | |
download | subsurface-249b758b0dbd833a172fd6cab9c64345174dbdf0.tar.gz |
cmake: make sure to only handle objcopy from MXE
The native Windows build does not use the MXE tools
and call such as `i686-w64-mingw32.shared-objcopy`
can fail.
Attempt to first find if the program exists using
`find_program()` and only then call it.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions