cgproxy
cgproxy copied to clipboard
test, tools: find header files in build dir
common.h be changed in 655290bf97f2dc71b3b1cf107d15178996cf620f, if we build out of source, that can not be found in /src anymore.
but it can be found in build/src after cmake.
So I add a include_directories(${PROJECT_BINARY_DIR}/src) both in test/CMakeLists.txt and tools/CMakeLists.txt, to avoid build_test=ON , build_tools=ON build error because common.h not found.