mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
cmake ignore non source things for make dist
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
c3872c5fe0
commit
2aab3f9513
1 changed files with 3 additions and 0 deletions
|
@ -726,6 +726,9 @@ if (NOT WITHOUT_TESTAPPS AND NOT WITHOUT_SERVER)
|
|||
COMPONENT examples)
|
||||
endif()
|
||||
|
||||
# build subdir is not part of sources
|
||||
set(CPACK_SOURCE_IGNORE_FILES $(CPACK_SOURCE_IGNORE_FILES) ".git" "build" "tgz" "tar.gz")
|
||||
|
||||
# Most people are more used to "make dist" compared to "make package_source"
|
||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue