CMake: Fix an endif.
authorGerald Combs <gerald@wireshark.org>
Mon, 18 Jan 2016 21:50:42 +0000 (13:50 -0800)
committerGerald Combs <gerald@wireshark.org>
Tue, 19 Jan 2016 00:08:51 +0000 (00:08 +0000)
Fix

CMake Warning (dev) in CMakeLists.txt:
  A logical block opening on the line

    C:/Development/wireshark-w64/CMakeLists.txt:1649 (if)

  closes on the line

    C:/Development/wireshark-w64/CMakeLists.txt:1668 (endif)

  with mis-matching arguments.
This warning is for project developers.  Use -Wno-dev to suppress it.

Change-Id: I6b6060e4d88b385deb81111234e3229d104772f1
Reviewed-on: https://code.wireshark.org/review/13407
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
CMakeLists.txt

index ad34750784eea4abea9caacd898720642099c502..7d4facf295f1009d51e16e15aa0e843854108bd7 100644 (file)
@@ -1665,7 +1665,7 @@ if(LUA_FOUND AND ENABLE_LUA)
                                "${_lua_file}"
                )
        endforeach()
-endif(LUA_FOUND)
+endif(LUA_FOUND AND ENABLE_LUA)
 # doc/*.html handled elsewhere.
 
 # TODO shouldn't this use full (relative) paths instead of glob patterns?