-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
vcpkg_from_github(ARCHIVE | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO pyomeca/ezc3d | ||
REF Release_1.3.7 | ||
SHA512 5beb0909a4ddc56f5965b5f2edcfd2c8d68d473b172778ebe21bc134e1b4931cac1e6529676866d4238b41041658041a72ccd44879b9685d85f857a4e0df23ec | ||
HEAD_REF dev | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS | ||
-DBUILD_EXAMPLE=OFF | ||
) | ||
|
||
vcpkg_install_cmake() | ||
|
||
if (VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX) | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/ezc3d/cmake") | ||
else() | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake") | ||
endif() | ||
|
||
# # Handle copyright | ||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
|
||
# # Remove duplicated include directory | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
||
vcpkg_copy_pdbs() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "ezc3d", | ||
"version-string": "1.3.7", | ||
"description": "C3D reader/writer", | ||
"homepage": "https://github.com/pyomeca/ezc3d" | ||
} |