diff options
| author | codicodi <rob.ceglinski@gmail.com> | 2017-01-11 21:36:21 +0100 |
|---|---|---|
| committer | codicodi <rob.ceglinski@gmail.com> | 2017-01-11 21:36:21 +0100 |
| commit | 912278d22d497ce344e78cb128ba4930c2ee7f55 (patch) | |
| tree | 5d4189533b53779809bb40ef18316fbded75692e | |
| parent | 275a59dd9dc9b6ec324ac9eb5460193bfd53b736 (diff) | |
| download | vcpkg-912278d22d497ce344e78cb128ba4930c2ee7f55.tar.gz vcpkg-912278d22d497ce344e78cb128ba4930c2ee7f55.zip | |
[glib] check settings
| -rw-r--r-- | ports/glib/portfile.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ports/glib/portfile.cmake b/ports/glib/portfile.cmake index c835d8482..d1777de1d 100644 --- a/ports/glib/portfile.cmake +++ b/ports/glib/portfile.cmake @@ -1,3 +1,13 @@ + # Glib uses winapi functions not available in WindowsStore +if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore) + message(FATAL_ERROR "Error: UWP builds are currently not supported.") +endif() + +# Glib relies on DllMain +if (VCPKG_LIBRARY_LINKAGE STREQUAL static) + message(STATUS "Warning: Static building not supported. Building dynamic.") + set(VCPKG_LIBRARY_LINKAGE dynamic) +endif() include(vcpkg_common_functions) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/glib-2.50.2) |
