aboutsummaryrefslogtreecommitdiff
path: root/ports/jxrlib
diff options
context:
space:
mode:
Diffstat (limited to 'ports/jxrlib')
-rw-r--r--ports/jxrlib/CMakeLists.txt1
-rw-r--r--ports/jxrlib/CONTROL3
-rw-r--r--ports/jxrlib/portfile.cmake8
3 files changed, 6 insertions, 6 deletions
diff --git a/ports/jxrlib/CMakeLists.txt b/ports/jxrlib/CMakeLists.txt
index 727b96906..7a73e3cba 100644
--- a/ports/jxrlib/CMakeLists.txt
+++ b/ports/jxrlib/CMakeLists.txt
@@ -20,6 +20,7 @@ endmacro()
if(NOT MSVC)
add_definitions(-D__ANSI__)
+ add_compile_options(-Wno-error=implicit-function-declaration)
endif()
include(TestBigEndian)
diff --git a/ports/jxrlib/CONTROL b/ports/jxrlib/CONTROL
index c92324b4f..1a8fa60ba 100644
--- a/ports/jxrlib/CONTROL
+++ b/ports/jxrlib/CONTROL
@@ -1,4 +1,5 @@
Source: jxrlib
-Version: 2019.10.9-1
+Version: 2019.10.9
+Port-Version: 2
Homepage: https://github.com/4creators/jxrlib
Description: Open source implementation of the jpegxr image format standard.
diff --git a/ports/jxrlib/portfile.cmake b/ports/jxrlib/portfile.cmake
index bf131d431..ed4e45940 100644
--- a/ports/jxrlib/portfile.cmake
+++ b/ports/jxrlib/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
@@ -13,9 +11,9 @@ vcpkg_from_github(
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
if(NOT VCPKG_CMAKE_SYSTEM_NAME MATCHES Darwin AND NOT VCPKG_CMAKE_SYSTEM_NAME MATCHES Linux)
- # The file guiddef.h is part of the Windows SDK,
- # we then remove the local copy shipped with jxrlib
- file(REMOVE ${SOURCE_PATH}/common/include/guiddef.h)
+ # The file guiddef.h is part of the Windows SDK,
+ # we then remove the local copy shipped with jxrlib
+ file(REMOVE ${SOURCE_PATH}/common/include/guiddef.h)
endif()
vcpkg_configure_cmake(