[CMake] Can not find test to add properties to:

2012-12-14 Thread Witold E Wolski
I am trying to build a project on a 'custom' linux machine. When running cmake (cmake version 2.6-patch 4) thats the error I am getting. (set_tests_properties): set_tests_properties Can not find test to add properties to: The relevant section in the CMakeLists.txt file looks like this:

Re: [CMake] Can not find test to add properties to:

2012-12-14 Thread Witold E Wolski
Found a solution: removing NAME from add_test(NAME hdf5mstest helps. No errors with cmake 2.6 regards On 14 December 2012 10:15, Witold E Wolski wewol...@gmail.com wrote: I am trying to build a project on a 'custom' linux machine. When running cmake (cmake version 2.6-patch 4) thats the

Re: [CMake] Can not find test to add properties to:

2012-12-14 Thread David Cole
NAME and COMMAND are keywords that were added at the same time in one of the early CMake 2.8 versions... WORKING_DIRECTORY was first added as an argument to add_test in CMake 2.8.3. You should be able to run the latest version of CMake: just download it from