Blame SOURCES/yaml-cpp-majorversion.patch

ec6c81
diff -up CMakeLists.txt.majorversion CMakeLists.txt
ec6c81
--- ./CMakeLists.txt.majorversion	2015-01-18 10:35:33.269980251 +0100
ec6c81
+++ ./CMakeLists.txt	2015-01-18 10:35:44.985957750 +0100
ec6c81
@@ -21,7 +21,7 @@ include(CheckCXXCompilerFlag)
ec6c81
 ###
ec6c81
 project(YAML_CPP)
ec6c81
 
ec6c81
-set(YAML_CPP_VERSION_MAJOR "0")
ec6c81
+set(YAML_CPP_VERSION_MAJOR "${VERSION_MAJOR_PREFIX}0")
ec6c81
 set(YAML_CPP_VERSION_MINOR "5")
ec6c81
 set(YAML_CPP_VERSION_PATCH "3")
ec6c81
 set(YAML_CPP_VERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}.${YAML_CPP_VERSION_PATCH}")