@ -217,7 +217,7 @@ if (USE_QT)
p r o c e s s i n v o k e r
p r o c e s s i n v o k e r
)
)
add_component_ dir ( misc
add_component_ qt_ dir ( misc
h e l p v i e w e r
h e l p v i e w e r
)
)
@ -233,7 +233,7 @@ endif ()
include_directories ( ${ BULLET_INCLUDE_DIRS } ${ CMAKE_CURRENT_BINARY_DIR } )
include_directories ( ${ BULLET_INCLUDE_DIRS } ${ CMAKE_CURRENT_BINARY_DIR } )
add_library ( components STATIC ${ COMPONENT_FILES } ${ MOC_SRCS } ${ ESM_UI_HDR } )
add_library ( components STATIC ${ COMPONENT_FILES } )
target_link_libraries ( components
target_link_libraries ( components
# C M a k e ' s b u i l t - i n O S G f i n d e r d o e s n o t u s e p k g c o n f i g , s o w e h a v e t o
# C M a k e ' s b u i l t - i n O S G f i n d e r d o e s n o t u s e p k g c o n f i g , s o w e h a v e t o
@ -276,7 +276,9 @@ if (WIN32)
endif ( )
endif ( )
if ( USE_QT )
if ( USE_QT )
target_link_libraries ( components Qt5::Widgets Qt5::Core )
add_library ( components_qt STATIC ${ COMPONENT_QT_FILES } ${ MOC_SRCS } ${ ESM_UI_HDR } )
target_link_libraries ( components_qt components Qt5::Widgets Qt5::Core )
target_compile_definitions ( components_qt PRIVATE OPENMW_DOC_BASEURL= "${OPENMW_DOC_BASEURL}" )
endif ( )
endif ( )
if ( GIT_CHECKOUT )
if ( GIT_CHECKOUT )