We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e955b54 commit 88c20b4Copy full SHA for 88c20b4
source/loaders/rb_loader/CMakeLists.txt
@@ -15,7 +15,11 @@ if(NOT Ruby_FOUND)
15
endif()
16
17
# TODO: Search Ruby_LIBRARY_NAME_PATH like in Python?
18
-set(Ruby_LIBRARY_NAME_PATH "${Ruby_LIBRARY_NAME}")
+if(Ruby_LIBRARY_NAME)
19
+ set(Ruby_LIBRARY_NAME_PATH "${Ruby_LIBRARY_NAME}")
20
+else()
21
+ set(Ruby_LIBRARY_NAME_PATH "${Ruby_LIBRARY}")
22
+endif()
23
get_filename_component(Ruby_LIBRARY_NAME "${Ruby_LIBRARY_NAME_PATH}" NAME)
24
25
# Copy Ruby DLL into project output directory
0 commit comments