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
ea6eed10
Commit
ea6eed10
authored
Feb 11, 2016
by
Peter Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: fix version in soname
parent
7a86758e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
CMakeLists.txt
+2
-0
lib/CMakeLists.txt
lib/CMakeLists.txt
+1
-2
No files found.
CMakeLists.txt
View file @
ea6eed10
...
...
@@ -35,6 +35,8 @@ set(LT_AGE 4)
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_SOURCE_DIR
}
/cmake"
)
include
(
Version
)
math
(
EXPR LT_SOVERSION
"
${
LT_CURRENT
}
-
${
LT_AGE
}
"
)
set
(
LT_VERSION
"
${
LT_SOVERSION
}
.
${
LT_AGE
}
.
${
LT_REVISION
}
"
)
set
(
PACKAGE_VERSION
"
${
PROJECT_VERSION
}
"
)
HexVersion
(
PACKAGE_VERSION_NUM
${
PROJECT_VERSION_MAJOR
}
${
PROJECT_VERSION_MINOR
}
${
PROJECT_VERSION_PATCH
}
)
...
...
lib/CMakeLists.txt
View file @
ea6eed10
...
...
@@ -27,8 +27,7 @@ add_library(nghttp2 SHARED ${NGHTTP2_SOURCES})
#target_link_libraries(nghttp2 ...)
set_target_properties
(
nghttp2 PROPERTIES
COMPILE_FLAGS
"
${
WARNCFLAGS
}
${
EXTRACFLAG
}
"
VERSION
${
LT_CURRENT
}
.
${
LT_REVISION
}
.
${
LT_AGE
}
SOVERSION
${
LT_CURRENT
}
)
VERSION
${
LT_VERSION
}
SOVERSION
${
LT_SOVERSION
}
)
install
(
TARGETS nghttp2
LIBRARY DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
"
)
...
...
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