Commit 76eb784c authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮
Browse files

CMakeLists.txt: find optional KF5 components really optionally

parent cf8ada2b
Pipeline #73329 passed with stage
in 4 minutes and 2 seconds
......@@ -97,7 +97,7 @@ if (UNIX AND NOT APPLE)
endif()
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ${KF5_REQUIRED_COMPONENTS})
if (KF5_OPTIONAL_COMPONENTS)
find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS ${KF5_OPTIONAL_COMPONENTS})
find_package(KF5 ${KF5_MIN_VERSION} OPTIONAL_COMPONENTS ${KF5_OPTIONAL_COMPONENTS})
endif()
if (WIN32)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment