Re: [CMake] fftw library in cmake

2017-04-21 Thread aishwarya selvaraj
Thanks Nils for the input . On Fri, Apr 21, 2017 at 7:19 PM, Nils Gladitz 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

Re: [CMake] fftw library in cmake

2017-04-21 Thread Nils Gladitz
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

[CMake] fftw library in cmake

2017-04-21 Thread aishwarya selvaraj
Hi all , Below is my CMakelist.txt. I'm getting an error as mentioned below . I'm not to rectify it . Could anyone help me out here please ? ​CMAKE_MINIMUM_REQUIRED(VERSION 2.8) PROJECT(PROSE) ​ ExternalProject_Add(project_fftw #GIT_REPOSITORY https://github.com/FFTW/fftw3 URL