Environment
- x64-windows, standard MSVC toolchain
Describe the bug
I am currently not able to use the built lapack-reference through CMake, because the config script references a non-existing file.
In particular, the file "installed\x64-windows\share\lapack-3.11.0\lapack-targets-debug.cmake" references an import library through
set_target_properties(lapack PROPERTIES
IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/debug/lib/liblapack${CMAKE_IMPORT_LIBRARY_SUFFIX}"
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/debug/bin/liblapack.dll"
)
However, the import library under installed/x64-windows/debug/lib is called "lapack.lib" without the "lib"-prefix. The same goes for the release target. Trying to include the lapack library through CMake's config mode fails then, because lapack-targets.cmake executes a file existance check around line 78 that does not pass. Curiously, the dll is called "liblapack.dll" in sync with the config script.
Suggested solution: Either rename the import libraries or change the config mode scripts to use the correct name.
Environment
Describe the bug
I am currently not able to use the built lapack-reference through CMake, because the config script references a non-existing file.
In particular, the file "installed\x64-windows\share\lapack-3.11.0\lapack-targets-debug.cmake" references an import library through
set_target_properties(lapack PROPERTIES
IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/debug/lib/liblapack${CMAKE_IMPORT_LIBRARY_SUFFIX}"
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/debug/bin/liblapack.dll"
)
However, the import library under installed/x64-windows/debug/lib is called "lapack.lib" without the "lib"-prefix. The same goes for the release target. Trying to include the lapack library through CMake's config mode fails then, because lapack-targets.cmake executes a file existance check around line 78 that does not pass. Curiously, the dll is called "liblapack.dll" in sync with the config script.
Suggested solution: Either rename the import libraries or change the config mode scripts to use the correct name.