From 3a6eb3b79000ca270e01e9b0913163d19a5a8599 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 29 Mar 2016 09:28:38 +0200 Subject: [PATCH] Correctly fail when YAML-CPP is not found. --- CMakeLists.txt | 2 +- CMakeModules/{FindYamlCpp.cmake => FindYAMLCPP.cmake} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename CMakeModules/{FindYamlCpp.cmake => FindYAMLCPP.cmake} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 486aaeedc..00c76cc52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ include( MacroLogFeature ) set( QT_VERSION 5.4.0 ) find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED Core Gui Widgets LinguistTools Svg Quick QuickWidgets ) -find_package( YamlCpp 0.5.1 REQUIRED ) +find_package( YAMLCPP 0.5.1 REQUIRED ) find_package( PolkitQt5-1 REQUIRED ) option( WITH_PYTHON "Enable Python modules support." ON ) diff --git a/CMakeModules/FindYamlCpp.cmake b/CMakeModules/FindYAMLCPP.cmake similarity index 100% rename from CMakeModules/FindYamlCpp.cmake rename to CMakeModules/FindYAMLCPP.cmake