mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-26 11:04:33 +00:00
10 lines
285 B
CMake
10 lines
285 B
CMake
set(CMAKE_FIND_LIBRARY_PREFIXES "")
|
|
set(CMAKE_FIND_LIBRARY_SUFFIXES "")
|
|
|
|
set (Ruby_FIND_VIRTUALENV STANDARD)
|
|
find_package (Ruby REQUIRED)
|
|
|
|
if (Ruby_EXECUTABLE MATCHES "^${MY_RUBY_HOME}")
|
|
message (FATAL_ERROR "Incorrectly found RVM Ruby: ${Ruby_EXECUTABLE}, ${MY_RUBY_HOME}")
|
|
endif()
|