vcpkg/ports/nodesoup/portfile.cmake
Jia Yue Hua 382746822d
[matplotplusplus,nodesoup] update to v1.2.0,add new port (#31796)
* [matplotplusplus] update to 2023-02-17

* [matplotplusplus] fix installation of matplot_opengl

* [matplotplusplus] remove the opengl patch as it merged upstream

* [matplotplusplus] try to fix filesystem for osx

* fix deps

* fix deps

* fix deps

* [matplotplusplus]: update to v1.2.0

* fix deps

* disable sanitizer

* fix opengl feature

* fix-dependencies

* [nodesoup]: add new port

* nodesoup

* fix deps

* fix nodesoup namespace

* fix deps

* fix deps

* fix

* fix

* fix deps

* fix deps

* fix deps

* fix deps

---------

Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
2023-06-14 12:50:43 -07:00

28 lines
896 B
CMake

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO olvb/nodesoup
REF 3158ad082bb0cd1abee75418b12b35522dbca74f
SHA512 be98cd5a1106fb1b6e6cb6b880229f590c2d4c4cc176dcceb2e2226ff3f2344ccb4510fb3a0911e9329701af50f076ee2efb9a3afc9e985b4d9c3fb92c12102d
HEAD_REF master
PATCHES
fix-cmakelists.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_DEMO=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_cmake_config_fixup(PACKAGE_NAME nodesoup CONFIG_PATH lib/cmake/nodesoup)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/nodesoup/" RENAME copyright)
file(INSTALL "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/nodesoup/")