diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/lapack-reference/fix_prefix.patch | |
Diffstat (limited to 'vcpkg/ports/lapack-reference/fix_prefix.patch')
| -rw-r--r-- | vcpkg/ports/lapack-reference/fix_prefix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/lapack-reference/fix_prefix.patch b/vcpkg/ports/lapack-reference/fix_prefix.patch new file mode 100644 index 0000000..69e11cd --- /dev/null +++ b/vcpkg/ports/lapack-reference/fix_prefix.patch @@ -0,0 +1,17 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c99d71a..7333110 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -10,6 +10,12 @@ set(
+ ${LAPACK_MAJOR_VERSION}.${LAPACK_MINOR_VERSION}.${LAPACK_PATCH_VERSION}
+ )
+
++if(WIN32)
++ set(CMAKE_STATIC_LIBRARY_PREFIX "")
++ set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
++ set(CMAKE_IMPORT_LIBRARY_PREFIX "")
++endif()
++
+ # Allow setting a prefix for the library names
+ set(CMAKE_STATIC_LIBRARY_PREFIX "lib${LIBRARY_PREFIX}")
+ set(CMAKE_SHARED_LIBRARY_PREFIX "lib${LIBRARY_PREFIX}")
|