2019-07-30 02:11:45 +08:00
|
|
|
vcpkg_from_gitlab(
|
2023-12-01 18:13:18 +08:00
|
|
|
GITLAB_URL https://gitlab.onelab.info
|
2019-07-30 02:11:45 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO gl2ps/gl2ps
|
2021-02-11 16:07:47 +08:00
|
|
|
REF gl2ps_1_4_2
|
|
|
|
SHA512 cb4abd79f6790e229a0b05a6d12e4bd4d24885c89c4cb8644e49b0459361565c5c5379b53d85f59eeaba16144d3288dbd06c90f55a739f0928a788224ccb8085
|
2019-07-30 02:11:45 +08:00
|
|
|
HEAD_REF master
|
2023-12-01 18:13:18 +08:00
|
|
|
PATCHES
|
|
|
|
separate-static-dynamic-build.patch
|
2017-08-16 03:24:12 +08:00
|
|
|
)
|
|
|
|
|
2023-04-14 00:13:15 +08:00
|
|
|
vcpkg_cmake_configure(
|
2023-04-22 05:48:12 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2023-12-01 18:13:18 +08:00
|
|
|
OPTIONS
|
|
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON
|
|
|
|
OPTIONS_DEBUG
|
|
|
|
-DDISABLE_INSTALL_HEADERS=ON
|
2017-08-16 03:24:12 +08:00
|
|
|
)
|
|
|
|
|
2023-04-14 00:13:15 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-08-16 03:24:12 +08:00
|
|
|
|
2023-12-01 18:13:18 +08:00
|
|
|
vcpkg_install_copyright(
|
|
|
|
FILE_LIST
|
|
|
|
"${SOURCE_PATH}/README.txt"
|
|
|
|
"${SOURCE_PATH}/COPYING.LGPL"
|
|
|
|
"${SOURCE_PATH}/COPYING.GL2PS"
|
|
|
|
)
|