mail[Wesnoth-commits] r34205 - /trunk/CMakeLists.txt


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on March 28, 2009 - 08:36:
Author: mordante
Date: Sat Mar 28 08:36:29 2009
New Revision: 34205

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34205&view=rev
Log:
Lua is only mandatory for the game.

Modified:
    trunk/CMakeLists.txt

Modified: trunk/CMakeLists.txt
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/CMakeLists.txt?rev=34205&r1=34204&r2=34205&view=diff
==============================================================================
--- trunk/CMakeLists.txt (original)
+++ trunk/CMakeLists.txt Sat Mar 28 08:36:29 2009
@@ -23,7 +23,6 @@
 
 find_package( SDL 1.2.7 REQUIRED )
 find_package( Boost 1.33 REQUIRED COMPONENTS iostreams regex )
-find_package( Lua51 REQUIRED)
 # yes, gettext is *required* even when NLS is deactivated (this is to compile
 # src/gettext.cpp since it includes libintl.h)
 find_package( Gettext REQUIRED )
@@ -160,6 +159,7 @@
        find_package( Boost 1.33 REQUIRED COMPONENTS unit_test_framework )
 endif(ENABLE_TESTS)
 if(ENABLE_GAME)
+       find_package( Lua51 REQUIRED)
        find_package( PkgConfig REQUIRED )
        pkg_check_modules( PANGOCAIRO REQUIRED pangocairo>=1.14.8 )
        pkg_check_modules( FONTCONFIG REQUIRED fontconfig>=2.4.1 )




Related Messages


Powered by MHonArc, Updated Sat Mar 28 10:40:44 2009