mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +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
@ -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 New Issue
Block a user