[cmake-developers] [CMake 0015137]: find_package(LAPACK) reports incorrect syntax in FindLAPACK.cmake

Mantis Bug Tracker mantis at public.kitware.com
Mon Sep 8 10:11:38 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15137 
====================================================================== 
Reported By:                Eugene Shalygin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15137
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-09-08 10:11 EDT
Last Modified:              2014-09-08 10:11 EDT
====================================================================== 
Summary:                    find_package(LAPACK) reports incorrect syntax in
FindLAPACK.cmake
Description: 
Part of the cmake output log:

-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for module 'blas'
--   found blas, version 3.2.1
-- Found BLAS: /usr/lib64/libeigen_blas.so  
-- checking for module 'lapack'
--   found lapack, version 3.4.2
CMake Error at /usr/share/cmake/Modules/FindLAPACK.cmake:190
(check_lapack_libraries):
  A logical block opening on the line

    /usr/share/cmake/Modules/FindLAPACK.cmake:84 (if)

  is not closed.

Steps to Reproduce: 
$ cat << EOF > CMakeLists.txt
project(test)
find_package(LAPACK)
EOF

$ mkdir -p build & cd build & cmake ..
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-09-08 10:11 Eugene ShalyginNew Issue                                    
======================================================================



More information about the cmake-developers mailing list