From 4fe8482b9fc6811eccb67e3a33f7dbf5e0d714d4 Mon Sep 17 00:00:00 2001 From: Jianhui Zhao Date: Sat, 30 Dec 2017 12:34:19 +0800 Subject: [PATCH] Fix compile example failed Signed-off-by: Jianhui Zhao --- example/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 5432f45..5c2c137 100755 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -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)