diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2022-11-23 12:40:45 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-11-23 15:09:18 +0100 |
commit | 240e71877865ed07e4c8d5bd4553aa0772c2adf4 (patch) | |
tree | 23305285159e8cf00769da503e4a491ee9fbedca /configure.cmake | |
parent | 51c46bc99b2a8f1d3eda2ee3e8d7ebc3fc7fea3f (diff) |
Fix Linux build with CMake versions >= 3.25
The 'LINUX' variable exists in CMake since the version 3.25. This
variable previously was undefined while preparsing the configure.cmake
files. Since the CMake script that defines the 'check_for_ulimit'
function is not included while evaluating configure.cmake first time
we need to add a stub.
Pick-to: 6.2 6.4
Change-Id: I25bdec4f4a1b6af23174507a8f0f9cbf01f0c398
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index 37ac1f428..a082ec1a6 100644 --- a/configure.cmake +++ b/configure.cmake @@ -6,6 +6,8 @@ if(QT_CONFIGURE_RUNNING) endfunction() function(add_check_for_support) endfunction() + function(check_for_ulimit) + endfunction() else() find_package(Ninja 1.7.2) find_package(Gn ${QT_REPO_MODULE_VERSION} EXACT) |