Allow nng to be consumed in "add_subdirectory" scenarios
@@ -246,7 +246,7 @@ set_target_properties (${PROJECT_NAME} ${PROJECT_NAME}
target_link_libraries (${PROJECT_NAME} PRIVATE ${NNG_LIBS})
-target_include_directories (${PROJECT_NAME} INTERFACE $<INSTALL_INTERFACE:include>)
+target_include_directories (${PROJECT_NAME} INTERFACE $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
install (TARGETS ${PROJECT_NAME}
EXPORT ${PROJECT_NAME}-target
