summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-12-10 13:45:53 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-12-21 20:07:18 +0000
commit006bf354b80d16ec63ec7ade958b54dfbb9e18d8 (patch)
treecf9b17acebafe84bbd6ff887024323e39e6b9851 /cmake
parent540b1cadb1888a9adde8cf338fcdbd8630423c0b (diff)
downloadqtwebengine-006bf354b80d16ec63ec7ade958b54dfbb9e18d8.tar.gz
Fix Windows SDK paths passed to GN
GN doesn't use them currently, but I will need them to build ANGLE. Pick-to: 6.3 Change-Id: Ide4d9b93d822abbfff9af4dba1e2f4e6a5cd4cde Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Functions.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
index 07791e0e9..f366380a8 100644
--- a/cmake/Functions.cmake
+++ b/cmake/Functions.cmake
@@ -780,8 +780,8 @@ macro(append_compiler_linker_sdk_setup)
endif()
if(WIN32)
- get_filename_component(windowsSdkPath $ENV{WINDOWSSDKDIR} DIRECTORY)
- get_filename_component(visualStudioPath $ENV{VSINSTALLDIR} DIRECTORY)
+ get_filename_component(windowsSdkPath $ENV{WINDOWSSDKDIR} ABSOLUTE)
+ get_filename_component(visualStudioPath $ENV{VSINSTALLDIR} ABSOLUTE)
list(APPEND gnArgArg
win_linker_timing=true
use_incremental_linking=false