diff options
Diffstat (limited to 'lua51.patch')
-rw-r--r-- | lua51.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua51.patch b/lua51.patch index 13618d7e9631..8f32df4615e8 100644 --- a/lua51.patch +++ b/lua51.patch @@ -44,6 +44,6 @@ -if ( LUA_FOUND ) +find_package ( Lua51 ${_QUIET} ) +if ( LUA51_FOUND ) - set( WRAP_LUA_DEFAULT ON ) + set( WRAP_LUA_DEFAULT ${WRAP_DEFAULT} ) else() set( WRAP_LUA_DEFAULT OFF ) |