Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
cf48a56d
Unverified
Commit
cf48a56d
authored
Nov 15, 2018
by
Tatsuhiro Tsujikawa
Committed by
GitHub
Nov 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1238 from jktjkt/cmake-fix-libevent-detection
cmake: Fix libevent version detection
parents
6cad1b24
6c17ed7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cmake/FindLibevent.cmake
cmake/FindLibevent.cmake
+3
-0
No files found.
cmake/FindLibevent.cmake
View file @
cf48a56d
...
...
@@ -40,6 +40,9 @@ if(LIBEVENT_INCLUDE_DIR)
# Libevent 2.0
file
(
STRINGS
"
${
LIBEVENT_INCLUDE_DIR
}
/event2/event-config.h"
LIBEVENT_VERSION REGEX
"
${
_version_regex
}
"
)
if
(
"
${
LIBEVENT_VERSION
}
"
STREQUAL
""
)
set
(
LIBEVENT_VERSION
${
PC_LIBEVENT_VERSION
}
)
endif
()
else
()
# Libevent 1.4
file
(
STRINGS
"
${
LIBEVENT_INCLUDE_DIR
}
/event-config.h"
...
...
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