mr_bones_ 15/01/20 01:25:36 Added: wesnoth-1.12-cmake.patch Log: fix build with USE=dedicated (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.1 games-strategy/wesnoth/files/wesnoth-1.12-cmake.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/wesnoth/files/wesnoth-1.12-cmake.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/wesnoth/files/wesnoth-1.12-cmake.patch?rev=1.1&content-type=text/plain Index: wesnoth-1.12-cmake.patch =================================================================== --- CMakeLists.txt.orig 2015-01-19 18:46:51.019420318 -0500 +++ CMakeLists.txt 2015-01-19 18:47:15.977567447 -0500 @@ -590,13 +590,14 @@ endif(LIBDBUS_FOUND) endif(ENABLE_NOTIFICATIONS) - 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 AND NOT ENABLE_PANDORA) - endif(ENABLE_GAME) +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 AND NOT ENABLE_PANDORA) + + if(ENABLE_POT_UPDATE_TARGET) find_package(TranslationTools REQUIRED) endif(ENABLE_POT_UPDATE_TARGET)