mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +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:
parent
91c2dea2a7
commit
0630cc482c
1 changed files with 5 additions and 1 deletions
|
@ -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})
|
||||
|
|
Loading…
Reference in a new issue