summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/freetype/src/type1/t1gload.c
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-01-08 16:36:36 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-03-05 21:22:31 +0000
commit37452051d6b68f20a52c65cffd3cde5cb323156e (patch)
tree0e6addb49fa923ca1bd58c561269b4f954d4fdfa /src/3rdparty/freetype/src/type1/t1gload.c
parent7402f4171d91f2dcd33fb14d4ee4a7665dc7e66e (diff)
Add QT_CONFIGURE_RUNNING variable for configure.cmake files
configure.cmake files are read twice when using the configure script / qt-configure-module: First, when configure is running and a second time, when CMake creates the local build system files. In the first run, not every function and esp. no targets are available. Code in configure.cmake that accesses targets or calls functions unknown to configure will fail at the configure stage. This patch introduces the QT_CONFIGURE_RUNNING variable that can be used in configure.cmake files to guard such code: if(QT_CONFIGURE_RUNNING) set(_qt_coord_type double) else() get_property(_qt_coord_type TARGET Qt6::Core PROPERTY INTERFACE_QT_COORD_TYPE) endif() Change-Id: Iff39924d6a5133379d28c8204d7b7afdf47de5c8 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/3rdparty/freetype/src/type1/t1gload.c')
0 files changed, 0 insertions, 0 deletions