Skip to content
Browse files

adapt for older cmake versions

  • Loading branch information...
1 parent 772a525 commit 1cbfdcf9efe1c124cf341a2c9e9a75762be25e53 @mlschroe mlschroe committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/modules/FindRuby.cmake
View
2 cmake/modules/FindRuby.cmake
@@ -224,7 +224,7 @@ ENDIF(WIN32)
FIND_LIBRARY(RUBY_LIBRARY NAMES ${_RUBY_POSSIBLE_LIB_NAMES} HINTS ${RUBY_POSSIBLE_LIB_DIR} )
-INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
+INCLUDE(FindPackageHandleStandardArgs)
SET(_RUBY_REQUIRED_VARS RUBY_EXECUTABLE RUBY_INCLUDE_DIR RUBY_LIBRARY)
IF(_RUBY_VERSION_SHORT_NODOT GREATER 18)
LIST(APPEND _RUBY_REQUIRED_VARS RUBY_CONFIG_INCLUDE_DIR)

0 comments on commit 1cbfdcf

Please sign in to comment.
Something went wrong with that request. Please try again.