mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 20:44:24 +00:00
apply fixes for building the pandora port with cmake to master
This commit is contained in:
parent
73ad809290
commit
c25de4bd87
@ -593,10 +593,10 @@ if(ENABLE_GAME)
|
||||
endif(LIBDBUS_FOUND)
|
||||
endif(ENABLE_NOTIFICATIONS)
|
||||
|
||||
if(ENABLE_BOOST_FILESYSTEM)
|
||||
if(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
find_package( Boost 1.44 REQUIRED COMPONENTS filesystem )
|
||||
find_package( Boost 1.48 REQUIRED COMPONENTS locale )
|
||||
endif(ENABLE_BOOST_FILESYSTEM)
|
||||
endif(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
|
||||
find_package( PNG )
|
||||
if(ENABLE_LIBPNG AND PNG_FOUND)
|
||||
|
@ -250,7 +250,7 @@ if(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
)
|
||||
else(ENABLE_BOOST_FILESYSTEM AND NOT ENABLE_PANDORA)
|
||||
set(libwesnoth-core_STAT_SRC
|
||||
${libwesnoth-game_STAT_SRC}
|
||||
${libwesnoth-core_STAT_SRC}
|
||||
filesystem.cpp
|
||||
gettext.cpp
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user