Prospective Windows build fix
Commitbb10abe12f600bmoved the _LARGEFILE64_SOURCE define to a central place and commit449eee2d10made it conditional to UNIX (not WIN32). Somehow these two were left over though. Change-Id: I23b08e84db804e9d5a4dde706af501c0918b460e Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
parent
0d224dbb9c
commit
b4e5b64936
|
|
@ -1509,9 +1509,6 @@ function(add_qt_plugin target)
|
|||
ENABLE_AUTOGEN_TOOLS ${arg_ENABLE_AUTOGEN_TOOLS}
|
||||
DISABLE_AUTOGEN_TOOLS ${arg_DISABLE_AUTOGEN_TOOLS}
|
||||
)
|
||||
if(FEATURE_largefile)
|
||||
target_compile_definitions("${target}" PRIVATE "_LARGEFILE64_SOURCE;_LARGEFILE_SOURCE")
|
||||
endif()
|
||||
if(NOT ${arg_EXCEPTIONS})
|
||||
qt_internal_set_no_exceptions_flags("${target}")
|
||||
endif()
|
||||
|
|
@ -1626,9 +1623,6 @@ function(add_qt_executable name)
|
|||
WIN32_EXECUTABLE "${arg_GUI}"
|
||||
MACOSX_BUNDLE "${arg_GUI}"
|
||||
)
|
||||
if(FEATURE_largefile)
|
||||
target_compile_definitions("${name}" PRIVATE "_LARGEFILE64_SOURCE;_LARGEFILE_SOURCE")
|
||||
endif()
|
||||
if(NOT ${arg_EXCEPTIONS})
|
||||
qt_internal_set_no_exceptions_flags("${name}")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue