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
f1ec2d20
"python-package/vscode:/vscode.git/clone" did not exist on "72c2d790871f5b1688350e1efb71470d5a5ead4a"
Unverified
Commit
f1ec2d20
authored
Jan 18, 2021
by
Nikita Titov
Committed by
GitHub
Jan 18, 2021
Browse files
revert forcing CMake to try compile static library for R-package (#3784)
parent
b2705dc4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
CMakeLists.txt
CMakeLists.txt
+0
-7
No files found.
CMakeLists.txt
View file @
f1ec2d20
...
@@ -20,17 +20,10 @@ elseif(USE_GPU OR APPLE)
...
@@ -20,17 +20,10 @@ elseif(USE_GPU OR APPLE)
cmake_minimum_required
(
VERSION 3.2
)
cmake_minimum_required
(
VERSION 3.2
)
elseif
(
USE_CUDA
)
elseif
(
USE_CUDA
)
cmake_minimum_required
(
VERSION 3.16
)
cmake_minimum_required
(
VERSION 3.16
)
elseif
(
__BUILD_FOR_R
)
cmake_minimum_required
(
VERSION 3.6
)
else
()
else
()
cmake_minimum_required
(
VERSION 3.0
)
cmake_minimum_required
(
VERSION 3.0
)
endif
()
endif
()
if
(
__BUILD_FOR_R
)
# Should be always before PROJECT command
set
(
CMAKE_TRY_COMPILE_TARGET_TYPE
"STATIC_LIBRARY"
)
endif
(
__BUILD_FOR_R
)
if
(
USE_CUDA
)
if
(
USE_CUDA
)
PROJECT
(
lightgbm LANGUAGES C CXX CUDA
)
PROJECT
(
lightgbm LANGUAGES C CXX CUDA
)
else
()
else
()
...
...
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