Don't explicetly include tqt.h anymore

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/70/head
Michele Calgaro 4 weeks ago
parent 98df0da75c
commit d7c2f01166
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -221,7 +221,6 @@ if( WITH_KONQSIDEBAR )
tde_save( CMAKE_REQUIRED_DEFINITIONS CMAKE_REQUIRED_FLAGS CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} )
set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} )
set( CMAKE_REQUIRED_FLAGS "-include tqt.h" )
foreach( _dirs ${TQT_LIBRARY_DIRS} )
list( APPEND CMAKE_REQUIRED_LIBRARIES "-L${_dirs}" )
endforeach()

Loading…
Cancel
Save