summaryrefslogtreecommitdiffstats
path: root/Tests/FindRuby/Test
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-16 17:47:45 (GMT)
committerBrad King <brad.king@kitware.com>2020-03-16 18:05:26 (GMT)
commitf52f496138380a65790e25ef5c75a114fa4cfd79 (patch)
tree7d7e687e83d7fc57bb37ca506d558b1092eff2c5 /Tests/FindRuby/Test
parentb00d736a0b47fee296e136fcd3511e51cb63468c (diff)
downloadCMake-f52f496138380a65790e25ef5c75a114fa4cfd79.zip
CMake-f52f496138380a65790e25ef5c75a114fa4cfd79.tar.gz
CMake-f52f496138380a65790e25ef5c75a114fa4cfd79.tar.bz2
FindRuby: Provide Ruby_LIBRARIES result variable
The `cmake-developer(7)` manual documents that a plural non-cached name should be used for results.
Diffstat (limited to 'Tests/FindRuby/Test')
-rw-r--r--Tests/FindRuby/Test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindRuby/Test/CMakeLists.txt b/Tests/FindRuby/Test/CMakeLists.txt
index be8c67f..dcf3ec3 100644
--- a/Tests/FindRuby/Test/CMakeLists.txt
+++ b/Tests/FindRuby/Test/CMakeLists.txt
@@ -9,6 +9,6 @@ endif()
add_executable(ruby_version ruby_version.c)
target_include_directories(ruby_version PRIVATE ${Ruby_INCLUDE_DIRS})
-target_link_libraries(ruby_version PRIVATE ${Ruby_LIBRARY})
+target_link_libraries(ruby_version PRIVATE ${Ruby_LIBRARIES})
add_test(NAME ruby_version COMMAND ruby_version)