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
OpenDAS
dgl
Commits
15188611
Unverified
Commit
15188611
authored
Jun 28, 2022
by
Rhett Ying
Committed by
GitHub
Jun 28, 2022
Browse files
[BugFix] fix build issue on mac OS (#4175)
* [BugFix] fix build issue on mac OS * refine
parent
cb39dbfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
CMakeLists.txt
CMakeLists.txt
+4
-2
No files found.
CMakeLists.txt
View file @
15188611
...
@@ -124,10 +124,12 @@ endif(USE_AVX)
...
@@ -124,10 +124,12 @@ endif(USE_AVX)
if
((
NOT MSVC
)
AND USE_EPOLL
)
if
((
NOT MSVC
)
AND USE_EPOLL
)
INCLUDE
(
CheckIncludeFile
)
INCLUDE
(
CheckIncludeFile
)
check_include_file
(
"sys/epoll.h"
USE_
EPOLL
)
check_include_file
(
"sys/epoll.h"
EPOLL
_AVAILABLE
)
if
(
USE_
EPOLL
)
if
(
EPOLL
_AVAILABLE
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-DUSE_EPOLL"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-DUSE_EPOLL"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-DUSE_EPOLL"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-DUSE_EPOLL"
)
else
()
message
(
WARNING
"EPOLL is not available on this platform..."
)
endif
()
endif
()
endif
()
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