diff --git a/macros.cmake b/macros.cmake index ade5e02be..b272fa02c 100644 --- a/macros.cmake +++ b/macros.cmake @@ -142,7 +142,7 @@ debugmsg("Search returned: ${MYSQL_DIR_LOC}") if (DEFINED EMBEDDED_LIB) if( NOT (IS_DIRECTORY ${EMBEDDED_LIB}) ) debugmsg("EMBEDDED_LIB is not a directory: ${EMBEDDED_LIB}") - if(${CMAKE_VERSION} VERSION_LESS 2.12 ) + if(${CMAKE_VERSION} VERSION_LESS 2.8.12 ) set(COMP_VAR PATH) else() set(COMP_VAR DIRECTORY)