Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
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
pistache
Commits
51226002
Unverified
Commit
51226002
authored
Nov 14, 2018
by
Dennis Jenkins
Committed by
GitHub
Nov 14, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #351 from kiplingw/kip-openssl
Added OpenSSL support to pkg-config manifest...
parents
adf5ce0e
2705b7f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
CMakeLists.txt
CMakeLists.txt
+12
-1
libpistache.pc.in
libpistache.pc.in
+1
-1
No files found.
CMakeLists.txt
View file @
51226002
...
...
@@ -65,6 +65,16 @@ endif()
@ONLY
)
# Set libraries...
# Minimum...
set
(
LIBS
"-lpistache -lpthread"
)
# If building with OpenSSL support...
if
(
PISTACHE_SSL
)
set
(
LIBS
"
${
LIBS
}
-lssl -lcrypto"
)
endif
(
PISTACHE_SSL
)
if
(
PISTACHE_INSTALL
)
# Install header...
install
(
...
...
@@ -77,10 +87,11 @@ endif()
# Configure the pkg-config metadata...
# Initialize the metadata variables to support remote builds...
# Initialize the metadata variables
and
to support remote builds...
set
(
prefix
${
CMAKE_INSTALL_PREFIX
}
)
set
(
exec_prefix
${
CMAKE_INSTALL_PREFIX
}
/bin
)
set
(
libdir
${
CMAKE_INSTALL_PREFIX
}
/lib
)
set
(
libs
${
LIBS
}
)
set
(
includedir
${
CMAKE_INSTALL_PREFIX
}
/include
)
set
(
version
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
)
...
...
libpistache.pc.in
View file @
51226002
...
...
@@ -8,7 +8,7 @@ URL: http://pistache.io/
Description: An elegant C++ REST framework.
Version: @version@
Requires:
Libs: -L'${libdir}/'
-lpistache -lpthread
Libs: -L'${libdir}/'
@libs@
Libs.private:
Cflags: -I'${includedir}/'
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