Re: [CMake] How to generate a STATIC Library using ExternalProject_Add

2012-10-31 Thread Marshall, Rob
Sent: Wednesday, October 31, 2012 9:12 AM To: Marshall, Rob Cc: cmake@cmake.org Subject: Re: [CMake] How to generate a STATIC Library using ExternalProject_Add Use the full path to the file libwebsocketpp.a in your target_link_libraries call instead of "websocketpp" HTH, David On Wed

Re: [CMake] How to generate a STATIC Library using ExternalProject_Add

2012-10-31 Thread David Cole
Use the full path to the file libwebsocketpp.a in your target_link_libraries call instead of "websocketpp" HTH, David On Wed, Oct 31, 2012 at 11:51 AM, Marshall, Rob wrote: > Hi, > > > > I am using ExternalProject_Add to build websocketpp. > > The build is successful and libwebsocketpp.a is gen

[CMake] How to generate a STATIC Library using ExternalProject_Add

2012-10-31 Thread Marshall, Rob
Hi, I am using ExternalProject_Add to build websocketpp. The build is successful and libwebsocketpp.a is generated. But it appears to be generated as a "UTILITY" rather than a "STATIC". How can I configure ExternalProject_Add to build websocketapp as "STATIC"? When I try and link in websocketpp