On Fri, Dec 17, 2010 at 10:40:30AM -0600, kent williams wrote: > install(FILES ${CMAKE_BINARY_DIR}/FFTW/lib/libfftw3.a > DESTINATION ${CMAKE_INSTALL_PREFIX}/lib) > install(FILES ${CMAKE_BINARY_DIR}/FFTW/include/fftw3.h > DESTINATION ${CMAKE_INSTALL_PREFIX}/include) > > I'm thinking thats kind of awful, but I don't know of a more elegant > solution. I also don't know the CMake variable to use for the library > file extension.
This is what fixup_bundle() in GetPrerequisites.cmake is for. > 2. I don't know how to make the Algorithms library depend on the FFTW > external project. If I do a sequential build, FFTW does get built > before everything else, but if I do a parallel build, FFTW builds > concurrent with the rest of ITK. This could definitely fail. If you're using FFTW as an external project, can't you just use add_dependencies() to enforce the proper order? tyler _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake