Skip to content

Commit

Permalink
Add vcpkg triplet and remove specific idyntree version
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussi66 authored and Nicogene committed Nov 14, 2024
1 parent 2228274 commit 8591ef9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,15 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_C_EXTENSIONS OFF)
set(CMAKE_CXX_EXTENSIONS OFF)

# Automatically check for installation of dependencies with vcpkg
# When ON, vcpkg install is ran every time cmake is ran
# Set manifest mode to use vcpkg.json to resolve dependencies
option(VCPKG_MANIFEST_MODE ON)

# When ON, vcpkg install is ran every time configure is ran
option(VCPKG_MANIFEST_INSTALL ON)

# Force use of following triplet since thats the only config supported by Creo
set(VCPKG_TARGET_TRIPLET "x64-windows-static-md")

if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.19)
cmake_policy(SET CMP0111 NEW)
endif()
Expand Down
7 changes: 1 addition & 6 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,5 @@
"yaml-cpp",
"libxml2",
"rapidcsv",
{
"name": "idyntree",
"version>=": "12.4.0"
}
],
"builtin-baseline": "7a57b42f959ad138a5283477fe2e6c97a7cb852f"
"idyntree"]
}

0 comments on commit 8591ef9

Please sign in to comment.