fix cosmetic if end if name tag error
authorAndy Green <andy@warmcat.com>
Wed, 5 Oct 2016 02:15:16 +0000 (10:15 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 5 Oct 2016 02:15:16 +0000 (10:15 +0800)
CMakeLists.txt

index d3c76b8..84b2f7d 100644 (file)
@@ -678,9 +678,9 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR (CMAKE_C_COMPILER_ID
     endif()
     if (UNIX OR LWS_WITH_ESP8266)
                set(CMAKE_C_FLAGS "-Wall -Werror ${VISIBILITY_FLAG} ${CMAKE_C_FLAGS}" )
-    else(UNIX)
+    else()
                set(CMAKE_C_FLAGS "-Wall ${VISIBILITY_FLAG} ${CMAKE_C_FLAGS}" )
-    endif(UNIX)
+    endif()
 endif ()
 
 if ((CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) AND NOT LWS_WITHOUT_TESTAPPS)