qdevice.pri: Use cmake separators for the path
Because otherwise we may end up with trailing backslashes Pick-to: 6.2 6.2.0 6.1 Change-Id: I7ad24ec34c35f0a7b32241751bbcd2b26a8a23ea Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
9ba4ce0102
commit
a265333133
@ -681,7 +681,9 @@ function(qt_generate_global_device_pri_file)
|
||||
|
||||
# Write android specific device info.
|
||||
if(ANDROID)
|
||||
file(TO_CMAKE_PATH ${ANDROID_SDK_ROOT} ANDROID_SDK_ROOT)
|
||||
string(APPEND content "DEFAULT_ANDROID_SDK_ROOT = ${ANDROID_SDK_ROOT}\n")
|
||||
file(TO_CMAKE_PATH ${ANDROID_NDK} ANDROID_NDK)
|
||||
string(APPEND content "DEFAULT_ANDROID_NDK_ROOT = ${ANDROID_NDK}\n")
|
||||
|
||||
set(android_platform "android-23")
|
||||
|
Loading…
Reference in New Issue
Block a user