summaryrefslogtreecommitdiffstats
path: root/Tests/FindRuby/FailExact/CMakeLists.txt
blob: 1ebc0aecc44f0089da33532eac540cd190224e49 (plain)
1
2
3
4
5
6
7
8
cmake_minimum_required(VERSION 3.17)
project(TestRubyFailExact LANGUAGES NONE)

# Should always fail since there is NO ruby 1.9.9 (goes from 1.9.3 to 2.0.0)
find_package(Ruby 1.9.9 EXACT REQUIRED)
if (NOT Ruby_FOUND)
  message (FATAL_ERROR "Failed to find Ruby 1.9.9")
endif()