pyapi build BUGFIX path to the build dir with the generated config files
diff --git a/python/setup.py.in b/python/setup.py.in
index 1db4191..555b13f 100644
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -13,7 +13,7 @@
"${CMAKE_CURRENT_COURCE_DIR}/rpc.h"
],
libraries=["netconf2"],
- extra_compile_args=["-Wall", "-I${PROJECT_BINARY_DIR}" @SSH_DEFINE@ @TLS_DEFINE@],
+ extra_compile_args=["-Wall", "-I${CMAKE_CURRENT_BINARY_DIR}" @SSH_DEFINE@ @TLS_DEFINE@],
extra_link_args=["-L${CMAKE_CURRENT_BINARY_DIR}/.."],
)