summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-12 11:05:40 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-02-13 14:12:31 (GMT)
commitfde949d1434c450914a8eab874940b3de074783c (patch)
tree4206a61ff5e5b080b4b4a4ddd945f7f7c1de3ef0 /Modules
parent79ae968a18ea58219df419a4add55f054889be31 (diff)
downloadCMake-fde949d1434c450914a8eab874940b3de074783c.zip
CMake-fde949d1434c450914a8eab874940b3de074783c.tar.gz
CMake-fde949d1434c450914a8eab874940b3de074783c.tar.bz2
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).
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt4.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 5baee01..078c031 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -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()