[CMake] lapack-3.4.1-cmake testing error

luxInteg lux-integ at btconnect.com
Sat May 19 10:24:49 EDT 2012


Greetings,

I am trying to compile  lapack -3.4.1 with cmake.  
lapack-3.4.1/TESTING/CMakeLists.txt  has these lines at the end:-

#----------------
execute_process(COMMAND ${CMAKE_COMMAND} -E copy 
${LAPACK_SOURCE_DIR}/lapack_testing.py ${LAPACK_BINARY_DIR})
 add_test(
  NAME LAPACK_Test_Summary
  WORKING_DIRECTORY ${LAPACK_BINARY_DIR}
  COMMAND ${PYTHON_EXECUTABLE} "lapack_testing.py"
 )
#-----------------------------

running cmake ends like so:-
---------------------------

CMake Error at TESTING/CMakeLists.txt:313 (add_test):
  add_test given unknown argument:
    WORKING_DIRECTORY
-- Configuring incomplete, errors occurred!
--------------------------

I dont want to disable the tests so advice would be appreciated.


sincerely
lux-integ.


More information about the CMake mailing list