Skip to content

Instantly share code, notes, and snippets.

@fujii
Created August 30, 2019 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fujii/b3ba21d3d8fb495ee78d3c85d6d15748 to your computer and use it in GitHub Desktop.
Save fujii/b3ba21d3d8fb495ee78d3c85d6d15748 to your computer and use it in GitHub Desktop.
diff --git a/ports/pixman/portfile.cmake b/ports/pixman/portfile.cmake
index f5f8861..2ca28bd 100644
--- a/ports/pixman/portfile.cmake
+++ b/ports/pixman/portfile.cmake
@@ -37,14 +37,6 @@ elseif (VCPKG_TARGET_ARCHITECTURE MATCHES "^arm")
)
endif ()
-if (NOT VCPKG_CMAKE_SYSTEM_NAME)
- set(VCPKG_CMAKE_SYSTEM_NAME Windows)
-endif ()
-
-if (VCPKG_CRT_LINKAGE STREQUAL dynamic AND VCPKG_CMAKE_SYSTEM_NAME MATCHES "^Windows")
- list(APPEND BUILD_OPTIONS -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON)
-endif ()
-
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment