Commit 1984f5d1 authored by Alex Richardson's avatar Alex Richardson
Browse files

Also search CMAKE_PREFIX_PATH for the pkgconfig files

This will be the default behaviour when requiring CMake >= 3.1

REVIEW: 117058
parent f3673f5f
......@@ -8,6 +8,8 @@ set(PLASMA_NM_VERSION_MINOR 0)
set(PLASMA_NM_VERSION_PATCH 0)
set(PLASMA_NM_VERSION ${PLASMA_NM_VERSION_MAJOR}.${PLASMA_NM_VERSION_MINOR}.${PLASMA_NM_VERSION_PATCH} )
# With CMake older than version 3.1 pkg_check_modules ignores CMAKE_PREFIX_PATH
set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON)
include(FindPkgConfig)
################# set KDE specific information #################
......
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