ath to be selected ?
>>>
>>> Thanks
>>>
>>
>> Renaming FindHDF5.cmake in FindH5.cmake (or whatever is not present in
>> the global cmake install) helps, but then I also need to replicate all
>> dependencies (FindPackageMessage.cmake,
>>
Hi,
I am trying to fix FindHDF5.cmake (support for HDF5_ROOT is broken, only
environment variable is supported and it will be eventually probably ignored in
find_program).
To that end, I'd like to copy it in my source tree and use that version instead
of the one in /usr/shared/cmake.
On 08/02/2016 18:43, Alain Miniussi wrote:
Hi,
I am trying to fix FindHDF5.cmake (support for HDF5_ROOT is broken, only
environment variable is supported and it will be eventually probably ignored in
find_program).
To that end, I'd like to copy it in my source tree and use that version
ed to replicate all
> dependencies (FindPackageMessage.cmake,
> SelectLibraryConfigurations.cmake...), shouldn't cmake look in the
> /usr/shar/cmake/... for those ?
>
> Thanks
>
> Alain
>
How do you set CMAKE_MODULE_PATH exactly? I used to have a modified
module i
Hi all,
the variable CMAKE_PREFIX_PATH is automatically set if the corresponding
environment variable is set. This does not apply to CMAKE_MODULE_PATH.
Is this behaviour intended?
Best regards,
Andreas
___
Powered by www.kitware.com
Visit other
On Saturday 11 April 2009, Robert Dailey wrote:
The latter does not work for me. I don't know what to tell you.
On Sat, Apr 11, 2009 at 6:43 AM, Daniel Nelson tor...@connect2.com wrote:
On Thursday 09 April 2009 11:58:55 am Robert Dailey wrote:
Sorry, the missing $ was a typo. The problem
On Thursday 09 April 2009 11:58:55 am Robert Dailey wrote:
Sorry, the missing $ was a typo. The problem was that I was doing:
include( foo.cmake )
I should have been doing:
include( foo )
Sorry for the mixup :)
Thanks for the help guys! This was a silly screwup on my part :P
Should
The latter does not work for me. I don't know what to tell you.
On Sat, Apr 11, 2009 at 6:43 AM, Daniel Nelson tor...@connect2.com wrote:
On Thursday 09 April 2009 11:58:55 am Robert Dailey wrote:
Sorry, the missing $ was a typo. The problem was that I was doing:
include( foo.cmake )
I
I want to set a couple of custom directories of mine to be searched for
cmake modules when I use include( foo.cmake ). However, I can't seem to get
this to work. My code is basically:
set( CMAKE_MODULE_PATH {CMAKE_SOURCE_DIR}/cmake )
include( foo.cmake )
This, however, does not work. It says it
On Thu, Apr 9, 2009 at 6:56 PM, Robert Dailey rcdai...@gmail.com wrote:
I want to set a couple of custom directories of mine to be searched for
cmake modules when I use include( foo.cmake ). However, I can't seem to get
this to work. My code is basically:
set( CMAKE_MODULE_PATH
You are missing a $ :
set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
To prepend, use this construct:
set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
HTH,
David
On Thu, Apr 9, 2009 at 12:56 PM, Robert Dailey rcdai...@gmail.com wrote:
I want to set a couple
:
You are missing a $ :
set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
To prepend, use this construct:
set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
HTH,
David
On Thu, Apr 9, 2009 at 12:56 PM, Robert Dailey rcdai...@gmail.com wrote:
I want to set a couple
All,
What is the correct syntax to add a module directory to the default
module path?
I am trying to append my module directory to the default module path
using this:
SET(MY_MODULE_DIR /home/jvines/Devel/CMAKE_MODULES)
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${MY_MODULE_DIR})
-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of
John Vines (CISD/HPCD)
Sent: Tuesday, March 03, 2009 11:24 AM
To: cmake@cmake.org
Subject: [CMake] CMAKE_MODULE_PATH
All,
What is the correct syntax to add a module directory to the default
module path?
I am trying to append my
${CMAKE_MODULE_PATH} ${MY_MODULE_DIR})
- Ken
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
Of
John Vines (CISD/HPCD)
Sent: Tuesday, March 03, 2009 11:24 AM
To: cmake@cmake.org
Subject: [CMake] CMAKE_MODULE_PATH
All,
What is the correct syntax
:24 AM
To: cmake@cmake.org
Subject: [CMake] CMAKE_MODULE_PATH
All,
What is the correct syntax to add a module directory to the default
module path?
I am trying to append my module directory to the default module path
using this:
SET(MY_MODULE_DIR /home/jvines/Devel/CMAKE_MODULES
I cannot get this to work. No matter how I set it, it never seems to be
able to use it.
PROJECT(x)
SET(CMAKE_MODULE_PATH path)
INCLUDE ( test.cmake )
Gives
INCLUDE Could not find include file: test.cmake
Even if I try to supply it on the command line:
cmake
On 2008-05-05 15:36-0700 Phil Pellouchoud wrote:
I cannot get this to work. No matter how I set it, it never seems to be
able to use it.
PROJECT(x)
SET(CMAKE_MODULE_PATH path)
INCLUDE ( test.cmake )
^
You are using the file signature for INCLUDE here which
On Thursday 23 August 2007 18:49, Alan W. Irwin wrote:
On 2007-08-23 16:29-0500 Matthew Woehlke wrote:
If I set up a build dir with 'cmake -DCMAKE_MODULE_PATH=somwehere
path-to-src', I find that 'make' in the build dir, when cmake needs to
be re-run (IIRC 'cmake .' has the same problem)
If I set up a build dir with 'cmake -DCMAKE_MODULE_PATH=somwehere
path-to-src', I find that 'make' in the build dir, when cmake needs to
be re-run (IIRC 'cmake .' has the same problem) will then fail because
it cannot find a module I INCLUDE().
I was able to work around the problem with the
Hi,
When I use FIND_PACKAGE(Foo), and set variable CMAKE_MODULE_PATH
to my module directory, FooConfig.cmake doesn't get found. However,
if I name it FindFoo.cmake, it gets found. Is CMAKE_MODULE_PATH for
Findname.cmake but not for nameConfig.cmake? or am I
not setting something
21 matches
Mail list logo