From 948c5476c52fe5ebe651e6235b0ab92699f6c5c2 Mon Sep 17 00:00:00 2001 From: Nathan French Date: Sat, 8 Jul 2017 15:29:50 -0700 Subject: [PATCH] add include directory for compat/sys headers --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dddf83..ac156f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,6 +96,9 @@ endif() if (NOT HAVE_SYS_TREE) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/compat/sys/tree.h.in ${CMAKE_CURRENT_BINARY_DIR}/compat/sys/tree.h) + + include_directories(${PROJECT_BINARY_DIR}/compat) + endif(NOT HAVE_SYS_TREE) if (NOT HAVE_SYS_QUEUE) @@ -303,7 +306,6 @@ if (EVHTP_BUILD_SHARED) set_target_properties(evhtp PROPERTIES SOVERSION "${PROJECT_VERSION}") endif() -add_subdirectory(tools) add_subdirectory(examples) if (NOT LIB_INSTALL_DIR)