From 88bd56ff2dc8590547504d92707ce1a227932bd7 Mon Sep 17 00:00:00 2001 From: Roland Bock Date: Sat, 6 Sep 2014 06:18:18 +0200 Subject: [PATCH] Fixed include path --- examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 2633d91f..1ab2fd65 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,7 +1,7 @@ macro (build arg) # Add headers to sources to enable file browsing in IDEs - include_directories("${CMAKE_BINARY_DIR}/tests") + include_directories("${CMAKE_SOURCE_DIR}/tests") add_executable("Sqlpp11Example${arg}" "${arg}.cpp" ${sqlpp_headers} "${CMAKE_SOURCE_DIR}/tests/MockDb.h" "${CMAKE_CURRENT_LIST_DIR}/Sample.h") add_test("${arg}" "${arg}") endmacro ()