View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015137CMakeCMakepublic2014-09-08 10:112015-03-02 08:57
ReporterEugene Shalygin 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformAMD64OSLinuxOS Version
Product VersionCMake 3.0.1 
Target VersionFixed in Version 
Summary0015137: find_package(LAPACK) reports incorrect syntax in FindLAPACK.cmake
DescriptionPart 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 ..
TagsNo tags attached.
Attached Files? file icon FindLAPACK.cmake [^] (10,638 bytes) 2014-09-08 10:23

 Relationships

  Notes
(0036742)
Brad King (manager)
2014-09-08 10:20

How was this CMake installed? CMake modules are normally installed to "<prefix>/share/cmake-<v>/Modules", where "<v>" is the CMake version number. Also please attach the offending FindLAPACK.cmake file.
(0036743)
Eugene Shalygin (reporter)
2014-09-08 10:23

It was installed via Gentoo package
(0036744)
Eugene Shalygin (reporter)
2014-09-08 10:24

Ups, sorry. This is Gentoo bug
(0036745)
Eugene Shalygin (reporter)
2014-09-08 10:26

Could you close this one, please?
(0036746)
Brad King (manager)
2014-09-08 10:30

Okay, thanks.
(0038106)
Robert Maynard (manager)
2015-03-02 08:57

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2014-09-08 10:11 Eugene Shalygin New Issue
2014-09-08 10:20 Brad King Note Added: 0036742
2014-09-08 10:23 Eugene Shalygin Note Added: 0036743
2014-09-08 10:23 Eugene Shalygin File Added: FindLAPACK.cmake
2014-09-08 10:24 Eugene Shalygin Note Added: 0036744
2014-09-08 10:26 Eugene Shalygin Note Added: 0036745
2014-09-08 10:30 Brad King Note Added: 0036746
2014-09-08 10:30 Brad King Status new => resolved
2014-09-08 10:30 Brad King Resolution open => no change required
2015-03-02 08:57 Robert Maynard Note Added: 0038106
2015-03-02 08:57 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team