1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 21:49:55 +00:00

Compile helpviewer in components only when USE_QT is defined

It fixes build of OpenMW alone (wihtout launcher or OpenCS)
This commit is contained in:
fredzio 2020-04-19 19:37:40 +02:00
parent 91c2dea2a7
commit 0630cc482c

View file

@ -86,7 +86,7 @@ add_component_dir (esmterrain
)
add_component_dir (misc
gcd constants utf8stream stringops resourcehelpers rng messageformatparser weakcache helpviewer
gcd constants utf8stream stringops resourcehelpers rng messageformatparser weakcache
)
add_component_dir (debug
@ -196,6 +196,10 @@ if (USE_QT)
processinvoker
)
add_component_dir (misc
helpviewer
)
if (DESIRED_QT_VERSION MATCHES 4)
include(${QT_USE_FILE})
QT4_WRAP_UI(ESM_UI_HDR ${ESM_UI})