Re: [CMake] Howto create a ProjectConfig.cmake tutorial

2012-08-08 Thread Michael Wild
Oops, my bad. Apologies. Fixed now. Michael On 08/08/2012 01:04 PM, Eric Noulard wrote: > 2012/8/8 Nico Schlömer : >> Hi, >> >> I just looked at >> http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file >> to learn about exporting build information to the installation,

Re: [CMake] Howto create a ProjectConfig.cmake tutorial

2012-08-08 Thread Eric Noulard
2012/8/8 Nico Schlömer : >> see: >> cmake --help-module CMakePackageConfigHelpers > > This gives > > $ cmake --help-module CMakePackageConfigHelpers > cmake version 2.8.7 > Argument "CMakePackageConfigHelpers" to --help-module is not a CMake module. This has been added in 2.8.8. > on my system. >

Re: [CMake] Howto create a ProjectConfig.cmake tutorial

2012-08-08 Thread Nico Schlömer
> see: > cmake --help-module CMakePackageConfigHelpers This gives $ cmake --help-module CMakePackageConfigHelpers cmake version 2.8.7 Argument "CMakePackageConfigHelpers" to --help-module is not a CMake module. on my system. I understand now that ${INSTALL_DATA_DIR} is a variable I'll just have

Re: [CMake] Howto create a ProjectConfig.cmake tutorial

2012-08-08 Thread Eric Noulard
2012/8/8 Nico Schlömer : > Hi, > > I just looked at > http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file > to learn about exporting build information to the installation, and > started off by copying-and-pasting the contents of the tutorial to my > own project. It do

[CMake] Howto create a ProjectConfig.cmake tutorial

2012-08-08 Thread Nico Schlömer
Hi, I just looked at http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file to learn about exporting build information to the installation, and started off by copying-and-pasting the contents of the tutorial to my own project. It doesn't quite run through since there's