diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-09-18 15:17:09 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-09-18 14:22:46 +0000 |
commit | c58df80cf7926b07da9fe6515230bd4295c1fc6d (patch) | |
tree | de2b0dddc51d60db757c298d2b1ba9008d6122b3 /cmake/QtResource.cmake.in | |
parent | b72adf8a911f4281c7c56b359f9ae1a35f766fcf (diff) |
pro2cmake: Handle qmake env variables in file paths
Replace things like $$(FOO) to $ENV{FOO}.
This is needed to stop the script from crashing when it sees $$(FOO)
in a .pro file, like in
qtmultimedia/src/plugins/directshow/directshow.pro
A better approach in the future will be to write a Find module that
uses the env var to find the relevant headers, and then instead use a
CMake cache variable, to make the build more robust in case the env
var is removed after first configuring the project.
Change-Id: Ia5b3dc3a90e1d4159a8b90acdade85f34b5165f9
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'cmake/QtResource.cmake.in')
0 files changed, 0 insertions, 0 deletions