fix type in macros.cmake

This commit is contained in:
Timofey Turenko 2015-01-16 18:12:08 +02:00
parent 885dfb0242
commit ba84370b36

View File

@ -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)