Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dhtnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
dhtnet
Commits
149f29e0
Commit
149f29e0
authored
1 year ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
cmake: install headers in subdir
Change-Id: Ic1580a9335e4f43cbceda0557a7a8ddf08f97dac
parent
b96f10f2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+12
-12
12 additions, 12 deletions
CMakeLists.txt
with
12 additions
and
12 deletions
CMakeLists.txt
+
12
−
12
View file @
149f29e0
...
...
@@ -38,17 +38,17 @@ list (APPEND dhtnet_SOURCES
)
list
(
APPEND dhtnet_HEADERS
connectionmanager.h
multiplexed_socket.h
tls_session.h
certstore.h
ice_options.h
fileutils.h
string_utils.h
ip_utils.h
upnp/mapping.h
upnp/upnp_context.h
upnp/upnp_control.h
include/
connectionmanager.h
include/
multiplexed_socket.h
include/
tls_session.h
include/
certstore.h
include/
ice_options.h
include/
fileutils.h
include/
string_utils.h
include/
ip_utils.h
include/
upnp/mapping.h
include/
upnp/upnp_context.h
include/
upnp/upnp_control.h
)
add_library
(
dhtnet
${
dhtnet_SOURCES
}
)
...
...
@@ -63,7 +63,7 @@ set_target_properties(dhtnet PROPERTIES PUBLIC_HEADER "${CMAKE_CURRENT_SOURCE_DI
configure_file
(
dhtnet.pc.in dhtnet.pc @ONLY
)
# Install targets
install
(
TARGETS dhtnet PUBLIC_HEADER
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/dhtnet
)
install
(
DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/dhtnet
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/dhtnet.pc DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
/pkgconfig
)
if
(
BUILD_TESTING AND NOT MSVC
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment