Commit aca25cd6 authored by Pino Toscano's avatar Pino Toscano
Browse files

cmake: fix search for pkg-config

properly use find_package() to search for it, making it required (as we
query for pkg-config variables)
parent 22550126
......@@ -21,7 +21,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
include(FindPkgConfig)
find_package(PkgConfig REQUIRED)
pkg_check_modules(Plymouth ply-boot-client ply-splash-core)
exec_program(${PKG_CONFIG_EXECUTABLE}
......
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