Don't add target-specific interface includes and defines to Qt 4 targets.
This is a partial revert of commit c8ee07d0
(FindQt4: Add INTERFACE
includes and defines to Qt4 targets, 2012-12-31).
This commit is contained in:
parent
79ae968a18
commit
fde949d143
|
@ -972,14 +972,6 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
|
|||
${_PROPERTY}
|
||||
"Qt4::Qt${_DEPEND}"
|
||||
)
|
||||
set_property(TARGET Qt4::${_QT_MODULE} APPEND PROPERTY
|
||||
INTERFACE_INCLUDE_DIRECTORIES
|
||||
"$<TARGET_PROPERTY:Qt4::Qt${_DEPEND},INTERFACE_INCLUDE_DIRECTORIES>"
|
||||
)
|
||||
set_property(TARGET Qt4::${_QT_MODULE} APPEND PROPERTY
|
||||
INTERFACE_COMPILE_DEFINITIONS
|
||||
"$<TARGET_PROPERTY:Qt4::Qt${_DEPEND},INTERFACE_COMPILE_DEFINITIONS>"
|
||||
)
|
||||
endforeach()
|
||||
endif()
|
||||
endmacro()
|
||||
|
|
Loading…
Reference in New Issue