Browse Source

Exclude the "generated" source directory when not including Lua support.

Lasse Öörni 11 years ago
parent
commit
06a7412d64
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Urho3D/CMakeLists.txt

+ 1 - 1
Source/Urho3D/CMakeLists.txt

@@ -74,7 +74,7 @@ if (URHO3D_LUA)
             COMMENT "Generating tolua++ DIR binding on the fly for ${DIR}")
             COMMENT "Generating tolua++ DIR binding on the fly for ${DIR}")
     endforeach ()
     endforeach ()
 else ()
 else ()
-    list (APPEND EXCLUDED_SOURCE_DIRS LuaScript)
+    list (APPEND EXCLUDED_SOURCE_DIRS LuaScript generated)
 endif ()
 endif ()
 
 
 # Generate platform specific export header file
 # Generate platform specific export header file