david.hag...@gmail.com wrote: > install(TARGETS foo > RUNTIME DESTINATION bin > LIBRARY DESTINATION lib > EXPORT foo-targets > )
The order of arguments is wrong. Move the 'EXPORT foo-targets' to just after 'TARGETS foo'. I don't know if this is a behavior change since the wiki was written, but CMake 3.0 has documentation which makes that wiki page outdated anyway. Thanks, Steve. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake