mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
cmake use existing spec file for RPM generation
Signed-off-by: Tomas Cejka <cejkat@cesnet.cz>
This commit is contained in:
parent
f35fd9789a
commit
efda177e80
1 changed files with 5 additions and 0 deletions
|
@ -749,5 +749,10 @@ set(CPACK_SOURCE_IGNORE_FILES $(CPACK_SOURCE_IGNORE_FILES) ".git" "build" "tgz"
|
|||
# Most people are more used to "make dist" compared to "make package_source"
|
||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
|
||||
INCLUDE(UseRPMTools)
|
||||
IF(RPMTools_FOUND)
|
||||
RPMTools_ADD_RPM_TARGETS(libwebsockets libwebsockets.spec)
|
||||
ENDIF(RPMTools_FOUND)
|
||||
|
||||
# This must always be last!
|
||||
include(CPack)
|
||||
|
|
Loading…
Add table
Reference in a new issue