Fix compile example failed

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
main
Jianhui Zhao 2017-12-30 12:34:19 +08:00
parent c1da233ab0
commit 4fe8482b9f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ project(libuhttpd-example C)
#set(CMAKE_VERBOSE_MAKEFILE ON)
list(APPEND CMAKE_MODULE_PATH "../cmake/Modules/")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/../cmake/Modules/")
add_definitions(-O -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wno-misleading-indentation)