project_files/Android-build/CMakeLists.txt
branchhedgeroid
changeset 6039 d75329716a02
parent 5647 28ab6763da9d
child 6230 de1e43054017
--- a/project_files/Android-build/CMakeLists.txt	Sat Oct 08 14:52:16 2011 +0200
+++ b/project_files/Android-build/CMakeLists.txt	Sat Oct 08 14:55:13 2011 +0200
@@ -34,7 +34,6 @@
 set(ANDROID_SDK /home/richard/SoftDev/android/android-sdk-linux_86)
 set(FPC_DIR /home/richard/SoftDev/fpc-2.4.4)
 set(SDL_DIR /home/richard/Downloads/android-project)
-set(LUA_DIR /home/richard/Downloads/lua-5.1.4)
 
 if(ANDROID_NDK AND ANDROID_SDK AND FPC_DIR)
 
@@ -61,8 +60,6 @@
 	    jpeg
 	    png
             mikmod
-            tremor
-            freetype
            ) 
          foreach(DIR ${DirsToCopy})
              exec_program( 
@@ -93,27 +90,6 @@
     endif(SDL_DIR)
 
  
-    if(LUA_DIR)
-        MESSAGE("Moving Lua dir..") 
-
-        exec_program(
-                ${CMAKE_COMMAND}
-                ARGS -E copy_directory
-                ${LUA_DIR}/src
-                ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/lua-5.1.4
-                )
-        MESSAGE("Lua has been moved.")
-
-        exec_program(${HGCOMMAND}
-		    ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/lua-5.1.4/Android.mk
-		    )
-        exec_program(${HGCOMMAND}
-		    ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/lua-5.1.4/llex.c
-		    )
-    else(LUA_DIR)
-        MESSAGE("Lua hasn't been moved..")
-    endif(LUA_DIR)
-
 else(ANDROID_AND AND ANDROID_SDK AND FPC_DIR)
     MESSAGE("Android port files not created, edit top of ${CMAKE_CURRENT_SOURCE_DIR}/CMakeList.txt to create android specific files")
 endif(ANDROID_NDK AND ANDROID_SDK AND FPC_DIR)