@ -234,7 +234,10 @@ if (HAVE_UNORDERED_MAP)
endif ()
set(BOOST_COMPONENTS system filesystem program_options locale)
set(BOOST_COMPONENTS system filesystem program_options)
if(WIN32)
set(BOOST_COMPONENTS ${BOOST_COMPONENTS} locale)
endif(WIN32)
IF(BOOST_STATIC)
set(Boost_USE_STATIC_LIBS ON)
@ -3,7 +3,6 @@
#include <string>
#include <boost/program_options.hpp>
#include <boost/locale.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/fstream.hpp>
@ -15,6 +14,9 @@ namespace bfs = boost::filesystem;
int main(int argc, char *argv[]) {
#else
// Include on Windows only
class utf8argv
{
public:
@ -144,7 +144,11 @@ if(WIN32)
set(QT_USE_QTMAIN TRUE)
set(BOOST_COMPONENTS system filesystem program_options thread wave locale)
set(BOOST_COMPONENTS system filesystem program_options thread wave)
find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
find_package(Qt4 COMPONENTS QtCore QtGui QtNetwork REQUIRED)
@ -82,7 +82,11 @@ add_openmw_dir (mwbase
)
# Main executable
IF(OGRE_STATIC)