cmake: remove config.h as it isn't needed and FTBFSs assistant

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
feat/cmakeConv-r1
Alexander Golubev 9 months ago
parent e93b93ea32
commit 62895ee9c0

@ -205,7 +205,6 @@ include( config.tests/unix/ipv6/ConfigureChecks.cmake ) # test: IPv6 net
###### global compiler settings
add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
@ -225,7 +224,6 @@ tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
##### write configure files
configure_file( config.h.cmake config.h @ONLY )
configure_file( src/tools/qconfig.cpp.cmake src/tools/qconfig.cpp @ONLY )
configure_file( include/ntqconfig.h.cmake include/ntqconfig.h @ONLY )
configure_file( include/ntqmodules.h.cmake include/ntqmodules.h @ONLY )

@ -36,10 +36,6 @@
**
**********************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "pbuilder_pbx.h"
#include "option.h"
#include "meta.h"

@ -35,9 +35,6 @@
** herein.
**
**********************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "makefile.h"
#include "option.h"

@ -35,9 +35,6 @@
** herein.
**
**********************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "project.h"
#include "property.h"

@ -52,10 +52,6 @@
#include "ntqglobal.h"
#endif // QT_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifndef QT_BUILTIN_GIF_READER
#define QT_BUILTIN_GIF_READER 0
#endif

@ -39,10 +39,6 @@
**
**********************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "ntqstring.h"
#include "ntqregexp.h"
#include "ntqdatastream.h"

@ -38,9 +38,6 @@
** herein.
**
**********************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
// Don't define it while compiling this module, or USERS of TQt will
// not be able to link.

Loading…
Cancel
Save