mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
cmake: ninja: clean empty dir
https://github.com/warmcat/libwebsockets/issues/3220
This commit is contained in:
parent
457a186f5b
commit
d102a080fe
1 changed files with 5 additions and 0 deletions
|
@ -1102,6 +1102,11 @@ add_custom_command(
|
|||
)
|
||||
|
||||
add_custom_target(GENHDR DEPENDS ${PROJECT_BINARY_DIR}/include/lws_config.h)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.15)
|
||||
set_property(TARGET GENHDR APPEND PROPERTY ADDITIONAL_CLEAN_FILES
|
||||
"${PROJECT_BINARY_DIR}/include/libwebsockets")
|
||||
endif()
|
||||
|
||||
|
||||
file(GLOB HDR_PUBLIC1 RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} include/libwebsockets/*.h)
|
||||
file(GLOB HDR_PUBLIC2 RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} include/libwebsockets.h)
|
||||
|
|
Loading…
Add table
Reference in a new issue