aboutsummaryrefslogtreecommitdiff
path: root/modules/FindRUBY.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindRUBY.cmake')
-rw-r--r--modules/FindRUBY.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindRUBY.cmake b/modules/FindRUBY.cmake
index ee44bae2..b5d3c0fd 100644
--- a/modules/FindRUBY.cmake
+++ b/modules/FindRUBY.cmake
@@ -7,7 +7,7 @@
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
# RUBY_EXECUTABLE = full path+file to the ruby binary
# RUBY_FOUND = Ruby was found under system.
-#
+
# Copyright (c) 2006,2007 Laurent Montel, <montel@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
@@ -57,7 +57,7 @@ IF(RUBY_EXECUTABLE)
FIND_PATH(RUBY_INCLUDE_PATH
NAMES ruby.h
- PATHS ${RUBY_ARCH_DIR}
+ PATHS ${RUBY_ARCH_DIR} /usr/include/ruby-${RUBY_VERSION}
)
FIND_LIBRARY(RUBY_LIBRARY