From 9fa5fac4cbc911946b358fef242a1c310a13c6dc Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 18 May 2015 12:50:09 +0200 Subject: [PATCH] Added include_directories(.) in CMakeLists.txt. --- CMakeLists.txt | 2 ++ test/parse_test.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 205e7df..f5d7cff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,8 @@ include_directories(${OPENSSL_INCLUDE_DIR}) find_package(Threads REQUIRED) message("Threads libraries/flag: ${CMAKE_THREAD_LIBS_INIT}") +include_directories(.) + add_executable(https_examples https_examples.cpp) target_link_libraries(https_examples ${Boost_LIBRARIES}) target_link_libraries(https_examples ${OPENSSL_SSL_LIBRARIES}) diff --git a/test/parse_test.cpp b/test/parse_test.cpp index 833aa2d..68c13c9 100644 --- a/test/parse_test.cpp +++ b/test/parse_test.cpp @@ -1,7 +1,7 @@ #define private public -#include "../server_http.hpp" -#include "../client_http.hpp" +#include "server_http.hpp" +#include "client_http.hpp" #include using namespace std;