diff --git a/bin/am2cmake.py b/bin/am2cmake.py index 094829f7fdd02dbb56040ba680eb7ec629de73b2..6b147ec082bff42381cc9131d18cb4b6e75a724a 100755 --- a/bin/am2cmake.py +++ b/bin/am2cmake.py @@ -800,6 +800,12 @@ def am_2_cmake_dir(directory): output.write('\n'.join(['# Create Doxyfile.in and Doxyfile, and doxygen documentation', 'add_doxygen_target()'])) output.close() + # Add directives to create CMake packe configuration files with autotools + output=open("Makefile.am'", "a") + output.write('\n'.join(['', '# Generate package configuration files for finding', + '# installed modules with CMake', + 'include $(top_srcdir)/am/cmake-pkg-config\n'])) + output.close() def main(): usage = "usage: am2cmake "