[CMake] CPack and ExternalProject_Add

2013-06-18 Thread Anil Gunturu
Is there a way to use CPack to create RPMs for targets added using ExternalProject_Add? Specifically these targets are not CMake targets and use autotools to build (./configure && make). As an example I am using the following command to add the externalproject: # add an external project target fo

Re: [CMake] ExternalProject_Add + BundleUtilities

2013-06-18 Thread Andrew Hundt
I've been able to resolve the problem, and it was a rather simple error to correct. My variable name for the library directory differed from the one in find_package, so the path was not set correctly. My apologies. Cheers! Andrew Hundt On Tue, Jun 18, 2013 at 12:47 PM, Jean-Christophe Fillion-Ro

[CMake] find_library() and mark_as_advanced()

2013-06-18 Thread Paul Harris
Hi there, I have modified FindZLIB.cmake and FindPNG.cmake, because I want to specify a separate release and debug library for MSVC to link to. The problem is, my libraries are not in any standard place. I want to use cmake-gui, run cmake and punch in exactly where these libraries live. So I hav

Re: [CMake] ExternalProject_Add + BundleUtilities

2013-06-18 Thread Jean-Christophe Fillion-Robin
Hi Andrew, I guess sharing an example of code would probably help people having the expertise to reproduce the issue and eventually answer. Jc On Tue, Jun 18, 2013 at 10:50 AM, Andrew Hundt wrote: > Is this the right list to ask this question? > > Cheers! > Andrew Hundt > > > On Sat, Jun 15,

Re: [CMake] ExternalProject_Add + BundleUtilities

2013-06-18 Thread Andrew Hundt
Is this the right list to ask this question? Cheers! Andrew Hundt On Sat, Jun 15, 2013 at 12:56 PM, Andrew Hundt wrote: > I''m building a cmake library with ExternalProject_Add, then using > add_library(IMPORTED) to import the target. Next, I use BundleUtilities to > package the library with t