Thanks Alex,

I am using ExternalProject_Add() to add websocketpp to my build and it 
generates the library libwebsocketpp.a fine.
My question is what is the standard way that other CMAKE projects would locate 
the library for linking?

Thanks,
Rob

-----Original Message-----
From: Alexander Neundorf [mailto:[email protected]] 
Sent: Monday, November 05, 2012 9:26 AM
To: [email protected]
Cc: Marshall, Rob
Subject: Re: [CMake] find_package(xyz)

On Monday 05 November 2012, Marshall, Rob wrote:
> Is the intent of the find_package() macro to be used to locate 
> prebuilt third party libraries that have Include and library files prebuilt?
> 
> Or can it be used in a scenario where third party source is on the 
> local file system but will be built During the overall build process 
> for a project?

In general, find_package() is intended to be used to find libraries which 
already exist on the system, outside your project.

You can use externproject_add() to add projects to your build.

Alex
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to