mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[pangolin] Fix glew dependency and fix usage of the crt
This commit is contained in:
parent
38522146d7
commit
133099fa2c
@ -1,4 +1,4 @@
|
||||
Source: pangolin
|
||||
Version: 0.5-2
|
||||
Version: 0.5-3
|
||||
Build-Depends: eigen3, glew, libpng, libjpeg-turbo, ffmpeg
|
||||
Description: Lightweight GUI Library
|
||||
|
@ -8,6 +8,10 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(REMOVE ${SOURCE_PATH}/CMakeModules/FindGLEW.cmake)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" MSVC_USE_STATIC_CRT)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
@ -16,6 +20,7 @@ vcpkg_configure_cmake(
|
||||
-DBUILD_EXTERN_GLEW=OFF
|
||||
-DBUILD_EXTERN_LIBPNG=OFF
|
||||
-DBUILD_EXTERN_LIBJPEG=OFF
|
||||
-DMSVC_USE_STATIC_CRT=${MSVC_USE_STATIC_CRT}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
Loading…
x
Reference in New Issue
Block a user