Fix Boost detection and use the detected library names when linking
This commit is contained in:
parent
4c64bf177a
commit
3af1c29236
2 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ FIND_PACKAGE( SDL_ttf 2.0.8 REQUIRED )
|
|||
# setting python to a "must have" for the moment, can later on be changed to be optional
|
||||
FIND_PACKAGE( PythonInterp 2.4 )
|
||||
FIND_PACKAGE( PythonLibs 2.4 )
|
||||
FIND_PACKAGE( Boost 1.33 REQUIRED COMPONENTS boost_iostream boost_regex )
|
||||
FIND_PACKAGE( Boost 1.33 REQUIRED COMPONENTS iostreams regex )
|
||||
FIND_PACKAGE( ZLIB REQUIRED )
|
||||
FIND_PACKAGE( PNG REQUIRED )
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ SET( the-external-libs
|
|||
${SDLTTF_LIBRARY}
|
||||
${SDL_LIBRARY}
|
||||
${PYTHON_LIBRARIES}
|
||||
boost_iostreams
|
||||
boost_regex
|
||||
${Boost_IOSTREAMS_LIBRARY}
|
||||
${Boost_REGEX_LIBRARY}
|
||||
)
|
||||
|
||||
########### libwesnoth-core ###############
|
||||
|
|
Loading…
Add table
Reference in a new issue