[Development] Getting build flags for platforms without pkg-config

Konstantin Tokarev annulen at yandex.ru
Mon Oct 30 16:27:02 CET 2017



30.10.2017, 18:23, "Thiago Macieira" <thiago.macieira at intel.com>:
> On segunda-feira, 30 de outubro de 2017 05:22:00 PDT Aleix Pol wrote:
>>  $ cmake --find-package -DNAME=Qt5Core -DCOMPILER_ID=GNU -DLANGUAGE=CXX
>>  -DMODE=COMPILE
>>  -I/home/apol/devel/kde5/include/
>>  -I/home/apol/devel/kde5/include/QtCore
>>  -I/home/apol/devel/kde5/lib64//mkspecs/linux-g++
>
> -DQT_CORE_LIB is missing. Any volunteers to add it to the cmake files?

It is already set:

    set(Qt5Core_DEFINITIONS -DQT_CORE_LIB)
    set(Qt5Core_COMPILE_DEFINITIONS QT_CORE_LIB)
...
    set_property(TARGET Qt5::Core PROPERTY
      INTERFACE_COMPILE_DEFINITIONS QT_CORE_LIB)


>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 
Regards,
Konstantin



More information about the Development mailing list