Skip to content

Commit

Permalink
[glib] check settings
Browse files Browse the repository at this point in the history
  • Loading branch information
codicodi committed Jan 11, 2017
1 parent 275a59d commit 912278d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ports/glib/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 912278d

Please sign in to comment.