Robert
>
Have you tried setting CMAKE_PREFIX_PATH
<
That seems to work. I will use it from now on.
Thanks
JB
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake co
is?
>
>
>
> thanks
>
>
>
> JB
>
>
>
>
>
> From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Biddiscombe, John
> A.
> Sent: 21 July 2015 14:54
> To: cmake@cmake.org
> Subject: [CMake] find_package and lib/cmake/Foo
>
>
>
> I’ve asked th
JB
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Biddiscombe, John A.
Sent: 21 July 2015 14:54
To: cmake@cmake.org
Subject: [CMake] find_package and lib/cmake/Foo
I've asked this before, but never resolved it...
if I stall package Foo into
CMAKE_INSTALL_PREFIX=/my/path/prefi
I've asked this before, but never resolved it...
if I stall package Foo into
CMAKE_INSTALL_PREFIX=/my/path/prefix
and generate
/my/path/prefix/lib/cmake/Foo/FooConfig.cmake
etc
then with
Foo_DIR=/my/path/prefix
Foo_ROOT=/my/path/prefix
find_package(Foo)
does not find package Foo
One needs to set
On 21.09.2014 23:34, Biddiscombe, John A. wrote:
If a projX is installed to
~/apps/projX
And when installed it creates
projXConfig.cmake
projXConfigVersion.cmake
projXTargets-debug.cmake
projXTargets.cmake
&etc.
In ~/apps/projX/lib/cmake/projX
It is necessary to say
cmake –Dprojx_DIR=~/apps/
If a projX is installed to
~/apps/projX
And when installed it creates
projXConfig.cmake
projXConfigVersion.cmake
projXTargets-debug.cmake
projXTargets.cmake
&etc.
In ~/apps/projX/lib/cmake/projX
It is necessary to say
cmake –Dprojx_DIR=~/apps/projX/lib/cmake/projX …..
When configuring another