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)
This commit is contained in:
parent
571344c2c7
commit
5797796a9c
@ -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)
|
||||
|
@ -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")
|
||||
|
@ -36,8 +36,6 @@
|
||||
#
|
||||
######################################
|
||||
|
||||
include(CMakeParseArguments)
|
||||
|
||||
set(__qt_core_macros_module_base_dir "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
# macro used to create the names of output files preserving relative dirs
|
||||
|
@ -32,8 +32,6 @@
|
||||
|
||||
include(MacroAddFileDependencies)
|
||||
|
||||
include(CMakeParseArguments)
|
||||
|
||||
function(qt6_add_dbus_interface _sources _interface _basename)
|
||||
get_filename_component(_infile ${_interface} ABSOLUTE)
|
||||
set(_header "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h")
|
||||
|
@ -36,8 +36,6 @@
|
||||
#
|
||||
######################################
|
||||
|
||||
include(CMakeParseArguments)
|
||||
|
||||
|
||||
# qt6_wrap_ui(outfiles inputfile ... )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user