[CMake] INSTALL( EXPORT ... requires target that is not in export set

2009-12-07 Thread Hugh Sorby
I am trying to use INSTALL( EXPORT ... but failing. I have a project like this ImageMagick/CMakeLists.txt -- 1. ImageMagick/magick/CMakeLists.txt -- 2. ImageMagick/coders/CMakeLists.txt -- 3. 1. calls ADD_SUBDIRECTORY for both 2 and 3 2. has a target magick that is a library 3. has a target

Re: [CMake] INSTALL( EXPORT ... requires target that is not in export set

2009-12-07 Thread Alan W. Irwin
On 2009-12-08 13:59+1200 Hugh Sorby wrote: I am trying to use INSTALL( EXPORT ... but failing. I have a project like this ImageMagick/CMakeLists.txt -- 1. ImageMagick/magick/CMakeLists.txt -- 2. ImageMagick/coders/CMakeLists.txt -- 3. 1. calls ADD_SUBDIRECTORY for both 2 and 3 2. has a