From 8ce9cd1cbdfbe426afed2e0cf39599d2c07dd336 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Fri, 9 Jan 2015 05:10:05 +0200 Subject: [PATCH] Fix to wrong version string being used in the macros.cmake . --- macros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.cmake b/macros.cmake index b1e4ce14d..3b363e30d 100644 --- a/macros.cmake +++ b/macros.cmake @@ -268,7 +268,7 @@ endmacro() function(subdirs VAR DIRPATH) -if(${CMAKE_VERSION} VERSION_LESS 2.12 ) +if(${CMAKE_VERSION} VERSION_LESS 2.8.12 ) set(COMP_VAR PATH) else() set(COMP_VAR DIRECTORY)