summaryrefslogtreecommitdiff
path: root/CMAKE
diff options
context:
space:
mode:
Diffstat (limited to 'CMAKE')
-rw-r--r--CMAKE/lapack-GNUtoMS.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/CMAKE/lapack-GNUtoMS.cmake b/CMAKE/lapack-GNUtoMS.cmake
deleted file mode 100644
index cdbd2a01..00000000
--- a/CMAKE/lapack-GNUtoMS.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-# Skip conversion for non-GNU tools.
-if(MINGW OR MSYS OR CYGWIN)
- return()
-endif()
-
-# Replace each imported target's import library.
-foreach(lib ${ALL_TARGETS})
- # Replace for all imported build configurations.
- get_property(configs TARGET ${lib} PROPERTY IMPORTED_CONFIGURATIONS)
- foreach(config ${configs})
- get_property(implib TARGET ${lib} PROPERTY IMPORTED_IMPLIB_${config})
- # Switch to the MS-compatible import library.
- string(REGEX REPLACE "\\.dll\\.a$" ".lib" implib "${implib}")
- set_property(TARGET ${lib} PROPERTY IMPORTED_IMPLIB_${config} ${implib})
- endforeach()
-endforeach()