Qt5CoreMacros: append the --compiler-flavor=msvc flag
Previously, the flags were replaced rather than appended to, losing -I flags and causing `#include` directives to fail. Change-Id: I74609e891ea327a8136c8075ab13176fc85ab111 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
5eb2c8c79e
commit
1b59966021
|
|
@ -91,7 +91,7 @@ macro(QT5_GET_MOC_FLAGS _moc_flags)
|
|||
set(${_moc_flags} ${${_moc_flags}} -DWIN32)
|
||||
endif()
|
||||
if (MSVC)
|
||||
set(${_moc_flags} --compiler-flavor=msvc)
|
||||
set(${_moc_flags} ${${_moc_flags}} --compiler-flavor=msvc)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue