aboutsummaryrefslogtreecommitdiff
path: root/ports/lodepng
diff options
context:
space:
mode:
Diffstat (limited to 'ports/lodepng')
-rw-r--r--ports/lodepng/CMakeLists.txt5
-rw-r--r--ports/lodepng/CONTROL6
-rw-r--r--ports/lodepng/portfile.cmake2
3 files changed, 5 insertions, 8 deletions
diff --git a/ports/lodepng/CMakeLists.txt b/ports/lodepng/CMakeLists.txt
index 0ffd39549..5da3aed3d 100644
--- a/ports/lodepng/CMakeLists.txt
+++ b/ports/lodepng/CMakeLists.txt
@@ -5,11 +5,6 @@ if(MSVC)
add_compile_options(/W3 /wd4005 /wd4996 /wd4018 -D_CRT_SECURE_NO_WARNINGS)
endif()
-if(BUILD_SHARED_LIBS)
- set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-endif()
-
-
include_directories(".")
add_library(lodepng lodepng.cpp lodepng_util.cpp)
diff --git a/ports/lodepng/CONTROL b/ports/lodepng/CONTROL
index e6c10c474..2c881316c 100644
--- a/ports/lodepng/CONTROL
+++ b/ports/lodepng/CONTROL
@@ -1,3 +1,3 @@
-Source: lodepng
-Version: 2018-09-18-1
-Description: PNG encoder and decoder in C and C++
+Source: lodepng
+Version: 2018-09-18-2
+Description: PNG encoder and decoder in C and C++
diff --git a/ports/lodepng/portfile.cmake b/ports/lodepng/portfile.cmake
index 367764456..83df5a5e0 100644
--- a/ports/lodepng/portfile.cmake
+++ b/ports/lodepng/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 lvandeve/lodepng