aboutsummaryrefslogtreecommitdiff
path: root/ports/glew
diff options
context:
space:
mode:
authorTodor Prokopov <koprok@users.noreply.github.com>2020-07-31 08:37:02 +0300
committerGitHub <noreply@github.com>2020-07-30 22:37:02 -0700
commitfe19c5e41167336d8b9d52f3dff44caa72fd6bfa (patch)
tree04a57599756686520b0f501ed6079737a15fb039 /ports/glew
parent5cdb92f010d8251e8e6ec62ccaed867547a6373a (diff)
downloadvcpkg-fe19c5e41167336d8b9d52f3dff44caa72fd6bfa.tar.gz
vcpkg-fe19c5e41167336d8b9d52f3dff44caa72fd6bfa.zip
Mingw port fixes (#12103)
* [openal-soft] MinGW build fixes * [glew] MinGW build fixes * [protobuf] MinGW build fixes * [protobuf] Update to 3.12.3 * [protobuf] Preserve existing cross-compilation behavior (e.g. android) Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Diffstat (limited to 'ports/glew')
-rw-r--r--ports/glew/CONTROL2
-rw-r--r--ports/glew/portfile.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/glew/CONTROL b/ports/glew/CONTROL
index 9a7fd7e9c..6409f87e7 100644
--- a/ports/glew/CONTROL
+++ b/ports/glew/CONTROL
@@ -1,4 +1,4 @@
Source: glew
-Version: 2.1.0-7
+Version: 2.1.0-8
Description: The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library.
Homepage: https://github.com/nigels-com/glew
diff --git a/ports/glew/portfile.cmake b/ports/glew/portfile.cmake
index 504a91dcf..de436818c 100644
--- a/ports/glew/portfile.cmake
+++ b/ports/glew/portfile.cmake
@@ -26,7 +26,7 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/glew)
-if(VCPKG_TARGET_IS_WINDOWS)
+if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
set(_targets_cmake_files)
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
list(APPEND _targets_cmake_files "${CURRENT_PACKAGES_DIR}/share/glew/glew-targets-debug.cmake")