KDE/kdelibs/cmake/modules

Ian Monroe ian.monroe at gmail.com
Sun Apr 8 01:43:30 UTC 2007


SVN commit 651511 by ianmonroe:

Fix Ruby check
CCMAIL:amarok at kde.org


 M  +5 -1      FindRUBY.cmake  


--- trunk/KDE/kdelibs/cmake/modules/FindRUBY.cmake #651510:651511
@@ -63,7 +63,11 @@
 		NAMES ruby${RUBY_VERSION} ruby
 		PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
   	)
-	SET(AKODE_FOUND TRUE)
+
+	if(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
+		SET(RUBY_FOUND TRUE)
+	endif (RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
+
 	MARK_AS_ADVANCED(
 	  RUBY_EXECUTABLE
 	  RUBY_LIBRARY



More information about the Amarok mailing list