mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 17:18:13 +08:00
14 lines
501 B
Diff
14 lines
501 B
Diff
|
diff --git a/Modules/ThirdParty/GDCM/src/gdcm/CMakeLists.txt b/Modules/ThirdParty/GDCM/src/gdcm/CMakeLists.txt
|
||
|
index 6ac16ab6..4638f13c 100644
|
||
|
--- a/Modules/ThirdParty/GDCM/src/gdcm/CMakeLists.txt
|
||
|
+++ b/Modules/ThirdParty/GDCM/src/gdcm/CMakeLists.txt
|
||
|
@@ -373,7 +373,7 @@ else()
|
||
|
endif()
|
||
|
|
||
|
if(GDCM_USE_SYSTEM_OPENJPEG)
|
||
|
- find_package(OpenJPEG 2.0.0 REQUIRED)
|
||
|
+ find_package(OpenJPEG REQUIRED)
|
||
|
set(GDCM_OPENJPEG_LIBRARIES ${OPENJPEG_LIBRARIES})
|
||
|
else()
|
||
|
set(GDCM_OPENJPEG_LIBRARIES gdcmopenjp2)
|