Mailing List Archive

[MythTV/mythtv] 20766c: cmake: Undefine 'True/False/Always' after X11 head...
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 20766cfcc0817d4933286d9baa89e5474a10818d
https://github.com/MythTV/mythtv/commit/20766cfcc0817d4933286d9baa89e5474a10818d
Author: David Hampton <mythtv@love2code.net>
Date: 2023-12-21 (Thu, 21 Dec 2023)

Changed paths:
M mythtv/libs/libmythtv/decoders/mythvdpauhelper.h

Log Message:
-----------
cmake: Undefine 'True/False/Always' after X11 headers are loaded.

Cmake and qmake take different approaches to building MOC files.
Qmake compiles individual moc files, whereas cmake includes all the
moc files into a single file and compiles that one file. This causes
problems when defines directives are not unique. The above X11
unconditional #define statements collide with Qt's use of the same
names within a namespace causing weird compilation errors.


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits