Build: Fix CMake path conversion function

Perform path conversion only for the variables with PATH or
UNINITIALIZED type to avoid unnecessary conversions for other
types (e.g. BOOL, STRING, etc.)

Change-Id: I2b1c35582883735bf67fb180c8187da84e42aba9
Co-Authored-by: Bohdan Hunko <Bohdan.Hunko@infineon.com>
Signed-off-by: Chris Brand <chris.brand@cypress.com>
1 file changed