You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
293 B

set(CMAKE_FIND_LIBRARY_PREFIXES "")
set(CMAKE_FIND_LIBRARY_SUFFIXES "")
set (Ruby_FIND_VIRTUALENV STANDARD)
find_package (Ruby REQUIRED)
if (RUBY_EXECUTABLE MATCHES "^${RUBY_HOME}/.+")
message (FATAL_ERROR "RVM ruby unexpectedly found at ${RUBY_EXECUTABLE}, matches ${RUBY_HOME}")
endif()