summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/ruby/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scripts/ruby/CMakeLists.txt')
-rw-r--r--src/plugins/scripts/ruby/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/ruby/CMakeLists.txt b/src/plugins/scripts/ruby/CMakeLists.txt
index cf977a254..98d948322 100644
--- a/src/plugins/scripts/ruby/CMakeLists.txt
+++ b/src/plugins/scripts/ruby/CMakeLists.txt
@@ -20,7 +20,7 @@ weechat-ruby-api.h)
SET_TARGET_PROPERTIES(ruby PROPERTIES PREFIX "")
IF(RUBY_FOUND)
- INCLUDE_DIRECTORIES(${RUBY_INCLUDE_PATH})
+ INCLUDE_DIRECTORIES(${RUBY_INCLUDE_PATH} ${RUBY_ARCH})
TARGET_LINK_LIBRARIES(ruby ${RUBY_LIBRARY} weechat_scripts)
ENDIF(RUBY_FOUND)