aboutsummaryrefslogtreecommitdiff
path: root/ports/guetzli
diff options
context:
space:
mode:
Diffstat (limited to 'ports/guetzli')
-rw-r--r--ports/guetzli/CMakeLists.txt4
-rw-r--r--ports/guetzli/CONTROL8
-rw-r--r--ports/guetzli/portfile.cmake2
3 files changed, 6 insertions, 8 deletions
diff --git a/ports/guetzli/CMakeLists.txt b/ports/guetzli/CMakeLists.txt
index 5d594aabd..d24b2326d 100644
--- a/ports/guetzli/CMakeLists.txt
+++ b/ports/guetzli/CMakeLists.txt
@@ -5,10 +5,6 @@ if(MSVC)
add_compile_options(/W3 /wd4005 /wd4996 /wd4018 -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
endif()
-if(BUILD_SHARED_LIBS)
- set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-endif()
-
find_path(butteraugli_include butteraugli/butteraugli.h)
find_library(butteraugli_library NAMES butteraugli_lib)
find_package(PNG REQUIRED)
diff --git a/ports/guetzli/CONTROL b/ports/guetzli/CONTROL
index 1bbfbe444..b68d01320 100644
--- a/ports/guetzli/CONTROL
+++ b/ports/guetzli/CONTROL
@@ -1,4 +1,4 @@
-Source: guetzli
-Version: 2018-07-30
-Description: Perceptual JPEG encoder
-Build-Depends: libpng, butteraugli
+Source: guetzli
+Version: 2018-07-30-1
+Description: Perceptual JPEG encoder
+Build-Depends: libpng, butteraugli
diff --git a/ports/guetzli/portfile.cmake b/ports/guetzli/portfile.cmake
index cb5a44687..248433e56 100644
--- a/ports/guetzli/portfile.cmake
+++ b/ports/guetzli/portfile.cmake
@@ -1,5 +1,7 @@
include(vcpkg_common_functions)
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/guetzli