cgproxy icon indicating copy to clipboard operation
cgproxy copied to clipboard

test, tools: find header files in build dir

Open sixg0000d opened this issue 5 years ago • 0 comments

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.

sixg0000d avatar Sep 23 '20 17:09 sixg0000d