aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2017-01-10 16:57:30 -0800
committerGitHub <noreply@github.com>2017-01-10 16:57:30 -0800
commit220724f4f4cddd5f4bb22957461f1982b29576e1 (patch)
tree5e223a7e0e4c5bde788f1b451bb687941c35e609
parent4f5f52ff470e83fa041ac4c6797bfa4e61ed2501 (diff)
parent31aae963efa05229ef70339f5df46ac712204062 (diff)
downloadvcpkg-220724f4f4cddd5f4bb22957461f1982b29576e1.tar.gz
vcpkg-220724f4f4cddd5f4bb22957461f1982b29576e1.zip
Merge pull request #511 from codicodi/pixman-dll
[pixman] enable dynamic builds
-rw-r--r--ports/pixman/CONTROL2
-rw-r--r--ports/pixman/portfile.cmake5
2 files changed, 2 insertions, 5 deletions
diff --git a/ports/pixman/CONTROL b/ports/pixman/CONTROL
index 564c81466..3603242d0 100644
--- a/ports/pixman/CONTROL
+++ b/ports/pixman/CONTROL
@@ -1,3 +1,3 @@
Source: pixman
-Version: 0.34.0
+Version: 0.34.0-1
Description: Pixman is a low-level software library for pixel manipulation, providing features such as image compositing and trapezoid rasterization.
diff --git a/ports/pixman/portfile.cmake b/ports/pixman/portfile.cmake
index b4029a26b..ac6de80f0 100644
--- a/ports/pixman/portfile.cmake
+++ b/ports/pixman/portfile.cmake
@@ -5,10 +5,6 @@
# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
#
-if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- message(STATUS "Warning: Dynamic building not supported. Building static.") # pixman does not export any symbols.
- set(VCPKG_LIBRARY_LINKAGE static)
-endif()
include(vcpkg_common_functions)
@@ -27,6 +23,7 @@ file(RENAME ${SOURCE_PATH}/pixman/CMakeLists_pixman.txt ${SOURCE_PATH}/pixman/CM
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
)
vcpkg_install_cmake()