That's the important set, -I and the like: TQT_CFLAGS_OTHER is less
important (and often empty).
---
modules/FindTQt.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/FindTQt.cmake b/modules/FindTQt.cmake
index bf2ca8a..889a84c 100644
--- a/modules/FindTQt.cmake
+++ b/modules/FindTQt.cmake
@@ -86,6 +86,6 @@ tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
# TQT_CXX_FLAGS
-foreach( _flag ${TQT_CFLAGS_OTHER} )
+foreach( _flag ${TQT_CFLAGS} ${TQT_CFLAGS_OTHER} )
set( TQT_CXX_FLAGS "${TQT_CXX_FLAGS} ${_flag}" )
endforeach()
--
1.7.10.4.153.g8c399cf