vcpkg/ports/gl2ps/portfile.cmake
Kai Pastor 01ea5f6f16
[freeglut,gl2ps,glui,mdl-sdk] Platform support corrections (#35391)
* [freeglut] Fix android

* [glui] android unsupported, needs GL/gl.h

* [gl2ps] android unsupported, needs GL/gl.h

* [libraw] Skip arm-neon-android CI, needs ftello

* [mdl-sdk] Update 'supports'

* Update ci.baseline.txt

* [gl2ps] freeglut not needed

* [mdl-sdk] Fix static-md
2023-12-01 02:13:18 -08:00

28 lines
701 B
CMake

vcpkg_from_gitlab(
GITLAB_URL https://gitlab.onelab.info
OUT_SOURCE_PATH SOURCE_PATH
REPO gl2ps/gl2ps
REF gl2ps_1_4_2
SHA512 cb4abd79f6790e229a0b05a6d12e4bd4d24885c89c4cb8644e49b0459361565c5c5379b53d85f59eeaba16144d3288dbd06c90f55a739f0928a788224ccb8085
HEAD_REF master
PATCHES
separate-static-dynamic-build.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON
OPTIONS_DEBUG
-DDISABLE_INSTALL_HEADERS=ON
)
vcpkg_cmake_install()
vcpkg_install_copyright(
FILE_LIST
"${SOURCE_PATH}/README.txt"
"${SOURCE_PATH}/COPYING.LGPL"
"${SOURCE_PATH}/COPYING.GL2PS"
)