Fix broken compilation in mingw32

This commit is contained in:
Eduardo Bart
2012-08-04 12:35:39 -03:00
parent 156ab9b879
commit 521adc308b
8 changed files with 42 additions and 81 deletions

View File

@@ -172,7 +172,7 @@ if(WIN32)
endif()
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost COMPONENTS system filesystem REQUIRED)
find_package(Boost COMPONENTS system filesystem thread chrono REQUIRED)
#find lua
if(LUAJIT)
@@ -444,7 +444,7 @@ if(FRAMEWORK_XML)
endif()
if(FRAMEWORK_SQL)
find_package(Mysql REQUIRED)
find_package(MySQL REQUIRED)
set(framework_INCLUDE_DIRS ${framework_INCLUDE_DIRS} ${MYSQL_INCLUDE_DIR})
set(framework_LIBRARIES ${framework_LIBRARIES} ${MYSQL_LIBRARY})