]> sigrok.org Git - pulseview.git/commitdiff
CMakeLists.txt: Drop superfluous "include(FindPkgConfig)".
authorUwe Hermann <redacted>
Thu, 3 Dec 2015 08:49:33 +0000 (09:49 +0100)
committerUwe Hermann <redacted>
Thu, 3 Dec 2015 08:49:33 +0000 (09:49 +0100)
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.

CMakeLists.txt

index 3bf7366dde346f209ddb628d97a057e7f7fd9841..f99774659e67d3e574daf41a855ea8b9b172606a 100644 (file)
@@ -20,7 +20,6 @@
 
 cmake_minimum_required(VERSION 2.8.6)
 
-include(FindPkgConfig)
 include(GNUInstallDirs)
 
 project(pulseview)