aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4db76fbfc..e5e2363cb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -80,9 +80,9 @@ IF(ENABLE_LUA MATCHES "ON")
MESSAGE(STATUS "Lua not found, lua support disabled")
ENDIF(LUA_INCLUDE_DIR)
ELSE(NOT LUA_FOUND)
+ SET(WITH_LUA 1)
INCLUDE_DIRECTORIES("${LUA_INCLUDE_DIR}")
ENDIF(NOT LUA_FOUND)
- SET(WITH_LUA 1)
ENDIF(ENABLE_LUA MATCHES "ON")
# Lex and yacc