hedgewars/CMakeLists.txt
changeset 7278 000e4543f204
parent 7231 f484455dd055
parent 7233 225179f64fd8
child 7373 d5ec4e4eb2d5
--- a/hedgewars/CMakeLists.txt	Tue Jun 12 17:20:27 2012 +0400
+++ b/hedgewars/CMakeLists.txt	Sun Jun 24 20:31:26 2012 +0400
@@ -227,7 +227,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()