unbreak build by moving away from deprecated exec_program
ClosedPublic

Authored by sitter on Apr 3 2019, 1:51 PM.

Details

Summary

since 1137ed5f07d137296874f7dd1ee629f903507161 which bumped cmake and
started using TARGET_FILE for the qmake calls qca failed to build for me.
I fail to understand why exactly that is but I suspect it has to do with
the fact that exec_program is deprecated and may not be working
(correctly?) with generator expressions.

moving to the not deprecated execute_process fixes clean builds on my
system and is at the very least a move away from deprecated tech with
no downsides

Test Plan

rm -rf * && cmake -DCMAKE_INSTALL_PREFIX=/usr ..

Diff Detail

Repository
R486 QCA Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sitter requested review of this revision.Apr 3 2019, 1:51 PM
sitter created this revision.
sitter updated this revision to Diff 55344.Apr 3 2019, 1:52 PM

fix style for consistency with rest of file

Builds fine for me!

dfaure accepted this revision.Apr 8 2019, 7:57 AM
This revision is now accepted and ready to land.Apr 8 2019, 7:57 AM
This revision was automatically updated to reflect the committed changes.