From: Uwe Hermann Date: Thu, 3 Dec 2015 08:49:33 +0000 (+0100) Subject: CMakeLists.txt: Drop superfluous "include(FindPkgConfig)". X-Git-Tag: pulseview-0.3.0~35 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=67ef1e478845fc44a8fccba025103c7a4314e369;hp=5da5d0813b0253fbe430d3a0b7cb780df1dcb72a CMakeLists.txt: Drop superfluous "include(FindPkgConfig)". This causes the check for the pkg-config tool to be performed twice since it is followed by another "find_package(PkgConfig)". This can cause issues in some situation, see e.g. https://github.com/mxe/mxe/issues/1023#issuecomment-161255930 This fixes bug #663. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3bf7366d..f9977465 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,6 @@ cmake_minimum_required(VERSION 2.8.6) -include(FindPkgConfig) include(GNUInstallDirs) project(pulseview)