pyapi build BUGFIX path to the build dir with the generated config files
@@ -13,7 +13,7 @@ netconf2Module = Extension("netconf2",
"${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}/.."],
)
