hedgewars/CMakeLists.txt
changeset 7233 225179f64fd8
parent 7223 b554726ff468
child 7278 000e4543f204
child 7370 d50b874e7ee8
--- a/hedgewars/CMakeLists.txt	Tue Jun 12 21:42:22 2012 -0400
+++ b/hedgewars/CMakeLists.txt	Wed Jun 13 11:18:30 2012 -0400
@@ -217,7 +217,7 @@
 add_custom_target(${engine_output_name} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}")
 
 #when system Lua is not found we need to compile it before engine
-if(NOT ${LUA_FOUND})
+if(NOT LUA_FOUND)
     add_dependencies(${engine_output_name} lua)
 endif()