aboutsummaryrefslogtreecommitdiff
path: root/ports/meschach
diff options
context:
space:
mode:
Diffstat (limited to 'ports/meschach')
-rw-r--r--ports/meschach/CMakeLists.txt4
-rw-r--r--ports/meschach/CONTROL6
-rw-r--r--ports/meschach/portfile.cmake3
3 files changed, 6 insertions, 7 deletions
diff --git a/ports/meschach/CMakeLists.txt b/ports/meschach/CMakeLists.txt
index 648fe5af9..e60d29097 100644
--- a/ports/meschach/CMakeLists.txt
+++ b/ports/meschach/CMakeLists.txt
@@ -71,10 +71,6 @@ file(GLOB meschach_headers "*.h")
include_directories(".")
-if(BUILD_SHARED_LIBS)
- set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-endif()
-
add_library(meschach ${meschach_srcs})
target_compile_definitions(meschach PRIVATE -DHAVE_MEMORY_H -DHAVE_COMPLEX_H)
diff --git a/ports/meschach/CONTROL b/ports/meschach/CONTROL
index a8418b2b1..84a3bf0d4 100644
--- a/ports/meschach/CONTROL
+++ b/ports/meschach/CONTROL
@@ -1,3 +1,3 @@
-Source: meschach
-Version: 1.2b-1
-Description: Matrix computations in C
+Source: meschach
+Version: 1.2b-2
+Description: Matrix computations in C
diff --git a/ports/meschach/portfile.cmake b/ports/meschach/portfile.cmake
index dd9d93085..1ec6fcd04 100644
--- a/ports/meschach/portfile.cmake
+++ b/ports/meschach/portfile.cmake
@@ -1,4 +1,7 @@
include(vcpkg_common_functions)
+
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src)
vcpkg_download_distfile(ARCHIVE
URLS "http://homepage.math.uiowa.edu/~dstewart/meschach/mesch12b.tar.gz"