Skip to content

Commit

Permalink
[ompl] Add vcpkg_check_linkage (#21659)
Browse files Browse the repository at this point in the history
* [ompl] Add vcpkg_check_linkage

* version

* version
  • Loading branch information
JackBoosY committed Dec 17, 2021
1 parent ae01527 commit da94bc3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ports/ompl/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
vcpkg_buildpath_length_warning(37)

# See https://github.com/ompl/ompl/blob/main/src/ompl/CMakeLists.txt#L49-L54
if (VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
else()
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
endif()

set(OMPL_VERSION 1.5.1)

vcpkg_from_github(
Expand Down
2 changes: 1 addition & 1 deletion ports/ompl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ompl",
"version": "1.5.1",
"port-version": 4,
"port-version": 5,
"description": "The Open Motion Planning Library, consists of many state-of-the-art sampling-based motion planning algorithms",
"homepage": "https://ompl.kavrakilab.org/",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4874,7 +4874,7 @@
},
"ompl": {
"baseline": "1.5.1",
"port-version": 4
"port-version": 5
},
"omplapp": {
"baseline": "1.5.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/ompl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "262729470ab00b469cfb9d63e196ebf4006d35cd",
"version": "1.5.1",
"port-version": 5
},
{
"git-tree": "cde8f8a96e5fc3c5764ca85632efa1b828868e26",
"version": "1.5.1",
Expand Down

0 comments on commit da94bc3

Please sign in to comment.