File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11diff --git a/CMakeLists.txt b/CMakeLists.txt
2- index 98752ec..aa029b3 100644
2+ index 298cdca..8894db3 100644
33--- a/CMakeLists.txt
44+++ b/CMakeLists.txt
55@@ -55,7 +55,15 @@ endif()
66 qt_standard_project_setup()
77
88 find_package(OpenSSL REQUIRED)
9- - find_package(lcms REQUIRED)
9+ - find_package(lcms2 REQUIRED)
1010+ SET(LCMS2_NAMES ${LCMS2_NAMES} lcms2 liblcms2 liblcms2_static)
1111+ FIND_LIBRARY(LCMS2_LIBRARY NAMES ${LCMS2_NAMES} )
1212+ FIND_PATH(LCMS2_INCLUDE_DIR lcms2.h)
1313+ add_library(lcms2::lcms2 UNKNOWN IMPORTED)
1414+ set_target_properties(lcms2::lcms2 PROPERTIES
1515+ IMPORTED_LOCATION ${LCMS2_LIBRARY}
1616+ INTERFACE_INCLUDE_DIRECTORIES ${LCMS2_INCLUDE_DIR}
17- + INTERFACE_COMPILE_DEFINITIONS "HAVE_LCMS2=1;CMS_NO_REGISTER_KEYWORD=1")
17+ + INTERFACE_COMPILE_DEFINITIONS "HAVE_LCMS2=1;CMS_NO_REGISTER_KEYWORD=1")
1818+ set_property(GLOBAL APPEND PROPERTY INTERNAL_DEPS_PROP lcms2::lcms2)
1919 find_package(ZLIB REQUIRED)
2020 find_package(Freetype REQUIRED)
Original file line number Diff line number Diff line change 1414
1515stdenv . mkDerivation ( finalAttrs : {
1616 pname = "pdf4qt" ;
17- version = "1.4 .0.0" ;
17+ version = "1.5 .0.0" ;
1818
1919 src = fetchFromGitHub {
2020 owner = "JakubMelka" ;
2121 repo = "PDF4QT" ;
2222 rev = "v${ finalAttrs . version } " ;
23- hash = "sha256-NlIy/C4uHRG5wwXPuqCShe113qhhsQ5jp50zrOLLA2c =" ;
23+ hash = "sha256-ELdmnOEKFGCtuf240R/0M6r8aPwRQiXurAxrqcCZvOI =" ;
2424 } ;
2525
2626 patches = [
You can’t perform that action at this time.
0 commit comments