Make boost system mandatory for CMake.
This due to the work loonycyborg does on boost asio. Anonymissimus please test whether it suffices on Windows.
This commit is contained in:
parent
34a571092b
commit
75be32120b
2 changed files with 2 additions and 10 deletions
|
@ -19,7 +19,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
|||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||
|
||||
find_package(SDL 1.2.7 REQUIRED)
|
||||
find_package(Boost 1.35 REQUIRED COMPONENTS iostreams program_options regex)
|
||||
find_package(Boost 1.35 REQUIRED COMPONENTS iostreams program_options regex system)
|
||||
|
||||
# no, gettext executables are not required when NLS is deactivated
|
||||
find_package(Gettext)
|
||||
|
@ -238,10 +238,6 @@ if(ENABLE_GAME)
|
|||
|
||||
endif(ENABLE_GAME)
|
||||
|
||||
if(USE_ANA_NETWORK)
|
||||
find_package( Boost 1.35 REQUIRED COMPONENTS system )
|
||||
endif(USE_ANA_NETWORK)
|
||||
|
||||
if(ENABLE_POT_UPDATE_TARGET)
|
||||
find_package(TranslationTools REQUIRED)
|
||||
endif(ENABLE_POT_UPDATE_TARGET)
|
||||
|
|
|
@ -76,6 +76,7 @@ endif(MSVC)
|
|||
|
||||
set(game-external-libs
|
||||
${common-external-libs}
|
||||
${Boost_SYSTEM_LIBRARIES}
|
||||
${SDLIMAGE_LIBRARY}
|
||||
${SDLMIXER_LIBRARY}
|
||||
${ANA_LIBRARIES}
|
||||
|
@ -94,11 +95,6 @@ if(MSVC)
|
|||
${CAIRO_LIBRARY}
|
||||
${GOBJECT_LIBRARY}
|
||||
)
|
||||
else(MSVC)
|
||||
set(game-external-libs
|
||||
${game-external-libs}
|
||||
${Boost_SYSTEM_LIBRARIES}
|
||||
)
|
||||
endif(MSVC)
|
||||
|
||||
if(USE_ANA_NETWORK)
|
||||
|
|
Loading…
Add table
Reference in a new issue