summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-03-23 10:58:26 +0100
committerMichal Klocek <michal.klocek@qt.io>2021-05-22 14:10:19 +0200
commite6a7c6548f15cb158c1a5a2ac97fadaecb54f1ee (patch)
tree7d50d6df4904590e6fa2edafd78ffb8ac439d2e8 /cmake
parent6d6037be24bcbff5efada34ed39331c7c8b28f3b (diff)
Add windows to the cmake build
Fix cmake for windows builds and add QtWebEngineSandbox target. Task-number: QTBUG-91760 Change-Id: If962a81ddfb509d104ad8ffbfbf34f1150ae82ce Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Functions.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
index 72069e015..2cd81554e 100644
--- a/cmake/Functions.cmake
+++ b/cmake/Functions.cmake
@@ -195,6 +195,9 @@ function(configure_gn_target target configType inFilePath outFilePath)
endforeach()
list(REMOVE_DUPLICATES GN_CFLAGS_C)
+ # GN_SOURCE_ROOT
+ get_filename_component(GN_SOURCE_ROOT "${CMAKE_CURRENT_LIST_DIR}" REALPATH)
+
if(MACOS)
recoverFrameworkBuild(GN_INCLUDE_DIRS GN_CFLAGS_C)
endif()