aboutsummaryrefslogtreecommitdiff
path: root/ports/sparsepp
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sparsepp')
-rw-r--r--ports/sparsepp/CONTROL2
-rw-r--r--ports/sparsepp/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/sparsepp/CONTROL b/ports/sparsepp/CONTROL
index 6606595e8..86550179a 100644
--- a/ports/sparsepp/CONTROL
+++ b/ports/sparsepp/CONTROL
@@ -1,3 +1,3 @@
Source: sparsepp
-Version: 1.22
+Version: 1.22-1
Description: A fast, memory efficient hash map for C++
diff --git a/ports/sparsepp/portfile.cmake b/ports/sparsepp/portfile.cmake
index 01822ea16..a98e1a6e6 100644
--- a/ports/sparsepp/portfile.cmake
+++ b/ports/sparsepp/portfile.cmake
@@ -1,6 +1,8 @@
include(vcpkg_common_functions)
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO greg7mdp/sparsepp
@@ -15,8 +17,6 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
- OPTIONS
- -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
)
# Note: we could add: OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON