[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 with

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 r...@qti.qualcomm.com wrote: Hi, I am using ExternalProject_Add to build websocketpp. The build is successful and

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

2012-10-31 Thread Marshall, Rob
(boost::system::error_code const, unsigned long)': From: David Cole [david.c...@kitware.com] 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