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
f1ccc4a3
Commit
f1ccc4a3
authored
Dec 07, 2016
by
Guolin Ke
Browse files
change openmp to REQUIRED
parent
637dc0a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
f1ccc4a3
...
@@ -13,7 +13,7 @@ else()
...
@@ -13,7 +13,7 @@ else()
ADD_DEFINITIONS
(
-DUSE_SOCKET
)
ADD_DEFINITIONS
(
-DUSE_SOCKET
)
endif
(
USE_MPI
)
endif
(
USE_MPI
)
find_package
(
OpenMP
)
find_package
(
OpenMP
REQUIRED
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
OpenMP_CXX_FLAGS
}
"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
OpenMP_CXX_FLAGS
}
"
)
...
...
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