mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-18 20:10:53 +00:00
cmake: create dist target if not exists
This commit is contained in:
parent
73fcf72792
commit
73746d52c7
@ -29,7 +29,9 @@ include(CPack)
|
||||
|
||||
# Generate docs before creating source package
|
||||
include(src/Filelists.cmake)
|
||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
if (TARGET lwipdocs)
|
||||
add_dependencies(dist lwipdocs)
|
||||
if (NOT TARGET dist)
|
||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
if (TARGET lwipdocs)
|
||||
add_dependencies(dist lwipdocs)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user