Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions ports/libsvm/CONTROL

This file was deleted.

6 changes: 5 additions & 1 deletion ports/libsvm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-${PORT} TARGET_PATH share/unofficial-${PORT})

if ("tools" IN_LIST FEATURES)
vcpkg_copy_tools(TOOL_NAMES svm-predict svm-scale svm-toy svm-train AUTO_CLEAN)
if (WIN32)
vcpkg_copy_tools(TOOL_NAMES svm-predict svm-scale svm-toy svm-train AUTO_CLEAN)
else ()
vcpkg_copy_tools(TOOL_NAMES svm-predict svm-scale svm-train AUTO_CLEAN)
endif ()
endif ()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
Expand Down
12 changes: 12 additions & 0 deletions ports/libsvm/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "libsvm",
"version-string": "323",
"port-version": 2,
"description": "A library for Support Vector Machines.",
"homepage": "https://www.csie.ntu.edu.tw/~cjlin/libsvm/",
"features": {
"tools": {
"description": "build libsvm CLI tools."
}
}
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3445,8 +3445,8 @@
"port-version": 0
},
"libsvm": {
"baseline": "323-1",
"port-version": 0
"baseline": "323",
"port-version": 2
},
"libtheora": {
"baseline": "1.2.0alpha1-20170719",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libsvm.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "14f75f50d38f27beddb27fb54bf0927942db9954",
"version-string": "323",
"port-version": 2
},
{
"git-tree": "81c8a12b8a8abcbfe0eefa7ea1643ea3118b49a2",
"version-string": "323-1",
Expand Down