diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7dc98bc..ea790b1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,10 +64,10 @@ endif()
 qt_standard_project_setup()
 
 find_package(OpenSSL REQUIRED)
-find_package(lcms REQUIRED)
+find_package(LCMS2 REQUIRED)
 find_package(ZLIB REQUIRED)
 find_package(Freetype REQUIRED)
-find_package(OpenJPEG CONFIG REQUIRED)
+find_package(OpenJPEG REQUIRED)
 find_package(JPEG REQUIRED)
 find_package(PNG REQUIRED)

