tests CHANGE rename config.h to tests_config.h
Make the tests' config header name clearly connected with tests. The
config.h is supposed to be connected with sources.
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 8735388..a4a3d78 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -9,9 +9,9 @@
find_program(VALGRIND_FOUND valgrind)
endif()
-configure_file("${PROJECT_SOURCE_DIR}/tests/config.h.in" "${PROJECT_BINARY_DIR}/tests/config.h" ESCAPE_QUOTES @ONLY)
+configure_file("${PROJECT_SOURCE_DIR}/tests/tests_config.h.in" "${PROJECT_BINARY_DIR}/tests/tests_config.h" ESCAPE_QUOTES @ONLY)
include_directories(SYSTEM ${CMOCKA_INCLUDE_DIR})
-include_directories(${PROJECT_BINARY_DIR})
+include_directories(${PROJECT_BINARY_DIR}/tests/)
function(ly_add_utest)
cmake_parse_arguments(ADDTEST "" "NAME;WRAP" "SOURCES" ${ARGN})