Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Mar 25, 2020
1 parent e54954a commit 248d36d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ environment:
- COMPILER: MINGW
TASK: r-package
R_WINDOWS_VERSION: 3.6.3
- COMPILER: MSVC
TASK: r-package
R_WINDOWS_VERSION: 3.6.3

clone_depth: 5

Expand Down
1 change: 1 addition & 0 deletions .ci/test_r_package_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,5 @@ if (Get-Content "$LOG_FILE_NAME" | Select-String -Pattern "WARNING" -Quiet) {
Check-Output $False
}

Write-Output "No issues were found checking the R package"
Exit 0
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,8 @@ endif()
if(BUILD_FOR_R)
if(MSVC)
# https://docs.microsoft.com/en-us/cpp/build/reference/link-input-files?redirectedfrom=MSDN&view=vs-2019
TARGET_LINK_LIBRARIES(lightgbm ${CMAKE_CURRENT_BINARY_DIR}/R.lib)
TARGET_LINK_LIBRARIES(_lightgbm ${CMAKE_CURRENT_BINARY_DIR}/R.lib)
else()
TARGET_LINK_LIBRARIES(lightgbm ${LIBR_CORE_LIBRARY})
TARGET_LINK_LIBRARIES(_lightgbm ${LIBR_CORE_LIBRARY})
endif()
endif(BUILD_FOR_R)
Expand Down

0 comments on commit 248d36d

Please sign in to comment.