From 982ca7dd9c7f7ce28fcfc5bce6d348957dccae45 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Fri, 26 Aug 2022 09:21:03 -0400 Subject: [PATCH] Oops, minor misspelling. --- src/mlpack/bindings/R/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mlpack/bindings/R/CMakeLists.txt b/src/mlpack/bindings/R/CMakeLists.txt index d1ac5995c3..4aa4033aee 100644 --- a/src/mlpack/bindings/R/CMakeLists.txt +++ b/src/mlpack/bindings/R/CMakeLists.txt @@ -336,7 +336,7 @@ if (BUILD_R_BINDINGS) # Append content to the list of models. set_property(GLOBAL APPEND PROPERTY R_MODELS - ${CMAKE_CURRENT_SOURCE_DIR}/${dorectory}/${name}_main.cpp) + ${CMAKE_CURRENT_SOURCE_DIR}/${directory}/${name}_main.cpp) # 1. Generate ${name}.cpp. add_custom_command(OUTPUT @@ -439,9 +439,7 @@ macro (post_r_setup) # Collect path of all source files and append to ${R_SRC}. if ("${r_src_file}" MATCHES ".cpp" AND - NOT "${r_src_file}" MATCHES "main.cpp" AND - # Note: this implementation of MVU does not work. See #189. - NOT "${r_src_file}" MATCHES "mvu") + NOT "${r_src_file}" MATCHES "main.cpp") string(APPEND R_SRC "#include \n") endif()