Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
5539e5aa
Unverified
Commit
5539e5aa
authored
May 20, 2020
by
James Lamb
Committed by
GitHub
May 20, 2020
Browse files
[R-package] characterize all cmake messages (#3105)
parent
bf99a072
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
R-package/src/cmake/modules/FindLibR.cmake
R-package/src/cmake/modules/FindLibR.cmake
+2
-2
No files found.
R-package/src/cmake/modules/FindLibR.cmake
View file @
5539e5aa
...
...
@@ -30,7 +30,7 @@ endif()
# https://docs.microsoft.com/en-us/cpp/build/reference/link-input-files?redirectedfrom=MSDN&view=vs-2019
function
(
create_rlib_for_msvc
)
message
(
"Creating R.lib and R.def"
)
message
(
STATUS
"Creating R.lib and R.def"
)
# various checks and warnings
if
(
NOT WIN32 OR NOT MSVC
)
...
...
@@ -67,7 +67,7 @@ endfunction(create_rlib_for_msvc)
# an R script (src/install.libs.R), that script uses R's built-ins to
# find the version of R and pass it through as a CMake variable
if
(
CMAKE_R_VERSION
)
message
(
"R version passed into FindLibR.cmake:
${
CMAKE_R_VERSION
}
"
)
message
(
STATUS
"R version passed into FindLibR.cmake:
${
CMAKE_R_VERSION
}
"
)
elseif
(
WIN32
)
message
(
FATAL_ERROR
"Expected CMAKE_R_VERSION to be passed in on Windows but none was provided. Check src/install.libs.R"
)
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment