mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 09:39:43 +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
|
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
|
add_component_dir (debug
|
||||||
|
@ -196,6 +196,10 @@ if (USE_QT)
|
||||||
processinvoker
|
processinvoker
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_component_dir (misc
|
||||||
|
helpviewer
|
||||||
|
)
|
||||||
|
|
||||||
if (DESIRED_QT_VERSION MATCHES 4)
|
if (DESIRED_QT_VERSION MATCHES 4)
|
||||||
include(${QT_USE_FILE})
|
include(${QT_USE_FILE})
|
||||||
QT4_WRAP_UI(ESM_UI_HDR ${ESM_UI})
|
QT4_WRAP_UI(ESM_UI_HDR ${ESM_UI})
|
||||||
|
|
Loading…
Reference in a new issue