aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2019-05-25 00:23:00 +0200
committerVictor Romero <romerosanchezv@gmail.com>2019-05-24 15:23:00 -0700
commitfcc6d6587ee899961a9022c46280530ca5f5ce24 (patch)
tree4910e3a0d7c76bbb7696b8ad419ad722ca18a0cd
parent4f6d1278c5afbf4e58f8c262d2a506542b1f327c (diff)
downloadvcpkg-fcc6d6587ee899961a9022c46280530ca5f5ce24.tar.gz
vcpkg-fcc6d6587ee899961a9022c46280530ca5f5ce24.zip
[jasper] Fix jasper find module. CMake requires the extra debug suffix (#6614)
-rw-r--r--ports/jasper/CONTROL2
-rw-r--r--ports/jasper/portfile.cmake2
2 files changed, 3 insertions, 1 deletions
diff --git a/ports/jasper/CONTROL b/ports/jasper/CONTROL
index e47be7dce..6b8ee20c9 100644
--- a/ports/jasper/CONTROL
+++ b/ports/jasper/CONTROL
@@ -1,4 +1,4 @@
Source: jasper
-Version: 2.0.16
+Version: 2.0.16-1
Description: Open source implementation of the JPEG-2000 Part-1 standard
Build-Depends: libjpeg-turbo
diff --git a/ports/jasper/portfile.cmake b/ports/jasper/portfile.cmake
index 2ebb9748b..6d11d166b 100644
--- a/ports/jasper/portfile.cmake
+++ b/ports/jasper/portfile.cmake
@@ -30,6 +30,8 @@ vcpkg_configure_cmake(
-DJAS_ENABLE_DOC=OFF
-DJAS_ENABLE_PROGRAMS=OFF
-DJAS_ENABLE_SHARED=${JAS_ENABLE_SHARED}
+ OPTIONS_DEBUG
+ -DCMAKE_DEBUG_POSTFIX=d # Due to CMakes FindJasper
)
vcpkg_install_cmake()