|
|
@ -153,13 +153,6 @@ if(WIN32)
|
|
|
|
set(QT_USE_QTMAIN TRUE)
|
|
|
|
set(QT_USE_QTMAIN TRUE)
|
|
|
|
endif(WIN32)
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
|
|
|
|
set(BOOST_COMPONENTS system filesystem program_options thread wave)
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
|
|
|
|
set(BOOST_COMPONENTS ${BOOST_COMPONENTS} locale)
|
|
|
|
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include(${QT_USE_FILE})
|
|
|
|
include(${QT_USE_FILE})
|
|
|
|
|
|
|
|
|
|
|
|
qt4_wrap_ui(OPENCS_UI_HDR ${OPENCS_UI})
|
|
|
|
qt4_wrap_ui(OPENCS_UI_HDR ${OPENCS_UI})
|
|
|
@ -205,14 +198,22 @@ target_link_libraries(openmw-cs
|
|
|
|
${OGRE_Overlay_LIBRARIES}
|
|
|
|
${OGRE_Overlay_LIBRARIES}
|
|
|
|
${OGRE_STATIC_PLUGINS}
|
|
|
|
${OGRE_STATIC_PLUGINS}
|
|
|
|
${SHINY_LIBRARIES}
|
|
|
|
${SHINY_LIBRARIES}
|
|
|
|
${Boost_LIBRARIES}
|
|
|
|
${Boost_SYSTEM_LIBRARY}
|
|
|
|
${BULLET_LIBRARIES}
|
|
|
|
${Boost_FILESYSTEM_LIBRARY}
|
|
|
|
|
|
|
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
|
|
|
|
|
|
|
${Boost_WAVE_LIBRARY}
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${QT_QTNETWORK_LIBRARY}
|
|
|
|
${QT_QTNETWORK_LIBRARY}
|
|
|
|
|
|
|
|
${BULLET_LIBRARIES}
|
|
|
|
components
|
|
|
|
components
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (WIN32)
|
|
|
|
|
|
|
|
target_link_libraries(openmw-cs ${Boost_LOCALE_LIBRARY})
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(APPLE)
|
|
|
|
if(APPLE)
|
|
|
|
INSTALL(TARGETS openmw-cs BUNDLE DESTINATION OpenMW COMPONENT BUNDLE)
|
|
|
|
INSTALL(TARGETS openmw-cs BUNDLE DESTINATION OpenMW COMPONENT BUNDLE)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|