File fix_charls_2.patch of Package gdcm
Description: Fix compiling with CharLS 2.0
Author: Gert Wollny <gewo@debian.org>
Adaption gdcm 3.0.x Axel Braun <DocB@openSUSE.org>
diff -ur gdcm/CMakeLists.txt gdcm-2.8.8/CMakeLists.txt
--- gdcm/CMakeLists.txt 2019-01-13 08:57:04.807970487 +0100
+++ gdcm-2.8.8/CMakeLists.txt 2019-01-13 08:51:36.459974494 +0100
@@ -357,7 +357,7 @@
if(GDCM_USE_SYSTEM_CHARLS)
find_package(CharLS 2.0.0 REQUIRED)
- set(GDCM_CHARLS_LIBRARIES ${CHARLS_LIBRARIES})
+ set(GDCM_CHARLS_LIBRARIES ${CHARLS_LIBRARY})
else()
set(GDCM_CHARLS_LIBRARIES gdcmcharls)
endif()