cmake: Fix 'missing-DSO' error when linking against boost_filesystem
This commit is contained in:
parent
3ecb883bc1
commit
789588d11e
2 changed files with 3 additions and 2 deletions
|
@ -598,7 +598,7 @@ if(ENABLE_GAME)
|
|||
endif(ENABLE_NOTIFICATIONS)
|
||||
|
||||
if(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
find_package( Boost 1.44 REQUIRED COMPONENTS filesystem )
|
||||
find_package( Boost 1.44 REQUIRED COMPONENTS filesystem system)
|
||||
find_package( Boost 1.48 REQUIRED COMPONENTS locale )
|
||||
endif(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
|
||||
|
@ -606,7 +606,7 @@ endif(ENABLE_GAME)
|
|||
|
||||
if(ENABLE_SERVER)
|
||||
if(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
find_package( Boost 1.44 REQUIRED COMPONENTS filesystem )
|
||||
find_package( Boost 1.44 REQUIRED COMPONENTS filesystem system)
|
||||
find_package( Boost 1.48 REQUIRED COMPONENTS locale )
|
||||
endif(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
endif(ENABLE_SERVER)
|
||||
|
|
|
@ -87,6 +87,7 @@ if(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
|||
set(common-external-libs
|
||||
${common-external-libs}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
${Boost_SYSTEM_LIBRARY}
|
||||
${Boost_LOCALE_LIBRARY}
|
||||
)
|
||||
else(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
|
|
Loading…
Add table
Reference in a new issue