diff options
author | Amir Masoud Abdol <amirmasoudabdol@icloud.com> | 2022-10-13 16:34:25 +0200 |
---|---|---|
committer | Amir Masoud Abdol <amir.abdol@qt.io> | 2022-10-26 12:48:52 +0000 |
commit | 5797796a9c3fd026bb6f5ce2a8f817c907293fa4 (patch) | |
tree | c418ca381de532ce4178627ae3261a3c35de5fed /cmake | |
parent | 571344c2c7c5ad68f1f006326893afe89e8569fa (diff) | |
download | qtbase-5797796a9c3fd026bb6f5ce2a8f817c907293fa4.tar.gz |
Remove the Unnecessary CMake Module, `include(CMakeParseArguments)`
From CMake 3.7 both flavors of `cmake_parse_arguments` are natively
available in CMake, and loading the
`CMakeParseArguments` module is not needed anymore.
Fixes: QTBUG-107574
Change-Id: I7c8a6c5871cdb2f92a4aa43932b6f2ee99e1f57f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 10d5c0adafb7989c44794caef14a192cce9673a7)
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/3rdparty/extra-cmake-modules/find-modules/FindWaylandScanner.cmake | 3 | ||||
-rw-r--r-- | cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/cmake/3rdparty/extra-cmake-modules/find-modules/FindWaylandScanner.cmake b/cmake/3rdparty/extra-cmake-modules/find-modules/FindWaylandScanner.cmake index 13291afcda..60adaf4184 100644 --- a/cmake/3rdparty/extra-cmake-modules/find-modules/FindWaylandScanner.cmake +++ b/cmake/3rdparty/extra-cmake-modules/find-modules/FindWaylandScanner.cmake @@ -107,9 +107,6 @@ set_package_properties(WaylandScanner PROPERTIES DESCRIPTION "Executable that converts XML protocol files to C code" ) - -include(CMakeParseArguments) - function(ecm_add_wayland_client_protocol out_var) # Parse arguments set(oneValueArgs PROTOCOL BASENAME) diff --git a/cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake b/cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake index 841453998a..a5dabb1074 100644 --- a/cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake +++ b/cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake @@ -123,8 +123,6 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -include(CMakeParseArguments) - macro(ecm_find_package_version_check module_name) if(CMAKE_VERSION VERSION_LESS 2.8.12) message(FATAL_ERROR "CMake 2.8.12 is required by Find${module_name}.cmake") |