CMakeLists.txt: Bump default MRI version to 2.1

This commit is contained in:
Jonas Kulla 2014-10-03 20:15:52 +02:00
parent 55a2cf562e
commit c1d89e4f8d
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ source_group("Embedded Source" FILES ${EMBEDDED_INPUT} ${EMBEDDED_SOURCE})
## Setup binding source ## ## Setup binding source ##
if (BINDING STREQUAL "MRI") if (BINDING STREQUAL "MRI")
set(MRIVERSION "2.0" CACHE STRING "Version of MRI to link with") set(MRIVERSION "2.1" CACHE STRING "Version of MRI to link with")
pkg_check_modules(MRI REQUIRED ruby-${MRIVERSION}) pkg_check_modules(MRI REQUIRED ruby-${MRIVERSION})
list(APPEND DEFINES list(APPEND DEFINES
BINDING_MRI BINDING_MRI