Re: [CMake] How to install an imported library?

2009-01-06 Thread Clement SOMMELET
Thanks for your quick answer Andreas! 2009/1/6 Andreas Pakulat : > On 06.01.09 10:55:19, Clement SOMMELET wrote: >> Hi, I try the following to install an imported dll: >> >> ADD_LIBRARY(Foo SHARED IMPORTED) >> SET_TARGET_PROPERTIES(Foo PROPERTIES IMPORTED_LOCATION

[CMake] How to install an imported library?

2009-01-06 Thread Clement SOMMELET
Hi, I try the following to install an imported dll: ADD_LIBRARY(Foo SHARED IMPORTED) SET_TARGET_PROPERTIES(Foo PROPERTIES IMPORTED_LOCATION "C:/FooLocation/Foo.dll") INSTALL(TARGETS Foo RUNTIME DESTINATION bin) and I get the following error: install TARGETS given target "Foo" which does not exis