Hi, yes, this is all that I can't figure out if I type the define
without a type, it fails, but I can't figure out this variables type.
I tried STRING and FILEPATH and even BOOL.

please advice.

-rhl



On Thu, Dec 29, 2011 at 5:03 PM, Ryan Lewis <m...@ryanlewis.net> wrote:
> Thanks a bunch,
>
> Is there a way to hand this to cmake on the command line (i.e. an
> ExternalProject_Add), when I test on the command line with: cmake
> -DCMAKE_FIND_ROOT_PATH=... it gives me the warning that it is ignoring
> my define.
>
> -rhl
>
>
>
> On Thu, Dec 29, 2011 at 1:29 PM, Eric Noulard <eric.noul...@gmail.com> wrote:
>> 2011/12/29 Ryan Lewis <m...@ryanlewis.net>:
>>> Hi,
>>>
>>> your suggestion on setting that variable before a find_package() just
>>> simply _is not_ doing what I expect. I specify my own location of libz
>>> and it _always_ finds the system wide version.
>>
>> Then there must be something weird,
>> did you clean-up your build tree before testing?
>>
>> You may try in a fresh new pristine build tree.
>>
>> Would you be able to try the attached project and replace the
>>
>> set(CMAKE_FIND_ROOT_PATH "/home/erk/TestZlib/installed")
>> with an appropriate value for your config.
>>
>> You must start from a fresh new build tree.
>>
>>> Also I cannot get the ExternalProject_Add() module to work properly.
>>
>> I'll try to answer that separately.
>> Beware not to drop the CMake ML address.
>>
>> --
>> Erk
>> Membre de l'April - « promouvoir et défendre le logiciel libre » -
>> http://www.april.org
--

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