Thanks Nils for the input . On Fri, Apr 21, 2017 at 7:19 PM, Nils Gladitz <nilsglad...@gmail.com> wrote:
> On 04/21/2017 03:40 PM, aishwarya selvaraj wrote: > > add_library(fftw STATIC IMPORTED) > > [...] > > TARGET_LINK_LIBRARIES(prose fftw ) > > [...] > > make[2]: *** No rule to make target `fftw-NOTFOUND', needed by `prose'. > Stop. > > > You are creating an IMPORTED target "fftw" but you aren't populating its > IMPORTED_LOCATION [1] (or IMPORTED_LOCATION_<CONFIG> [2]) target property. > Without it CMake does not know what on disk library file to link to. > > You can set target properties with set_property() or > set_target_properties(). > > Nils > > [1] https://cmake.org/cmake/help/latest/prop_tgt/IMPORTED_LOCATION.html > [2] https://cmake.org/cmake/help/latest/prop_tgt/IMPORTED_ > LOCATION_CONFIG.html > -- Regards, Aishwarya Selvaraj
-- 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://public.kitware.com/mailman/listinfo/cmake