mirror of
https://github.com/adulau/ssldump.git
synced 2024-12-22 16:05:58 +00:00
Merge pull request #84 from robert-scheck/cmake
Use correct cmake GNUInstallDirs variables with their built-in defaults
This commit is contained in:
commit
de05391270
1 changed files with 4 additions and 5 deletions
|
@ -1,5 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.13.4)
|
||||
include(CheckSymbolExists)
|
||||
|
||||
project(
|
||||
ssldump
|
||||
|
@ -8,6 +7,9 @@ project(
|
|||
LANGUAGES C
|
||||
)
|
||||
|
||||
include(CheckSymbolExists)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
configure_file(base/pcap-snoop.c.in base/pcap-snoop.c)
|
||||
|
||||
set(SOURCES
|
||||
|
@ -110,8 +112,5 @@ target_link_libraries(ssldump
|
|||
${JSONC_LIBRARIES}
|
||||
)
|
||||
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
install(TARGETS ssldump DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
|
||||
set(CMAKE_INSTALL_MANDIR "/usr/local/share/man")
|
||||
install(TARGETS ssldump DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(FILES ssldump.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
|
|
Loading…
Reference in a new issue