projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8f360
)
fix cosmetic if end if name tag error
author
Andy Green
<andy@warmcat.com>
Wed, 5 Oct 2016 02:15:16 +0000
(10:15 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 5 Oct 2016 02:15:16 +0000
(10:15 +0800)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
d3c76b8
..
84b2f7d
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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)