qdevice.pri: Use cmake separators for the path
Because otherwise we may end up with trailing backslashes Change-Id: I7ad24ec34c35f0a7b32241751bbcd2b26a8a23ea Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit a2653331330340c4f44457c49005f4c7226b8316) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
fa9759db45
commit
1fa6f1dcf6
@ -641,7 +641,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…
x
Reference in New Issue
Block a user