cmake: fix logic for individual test client build disable
This commit is contained in:
parent
ede9ad2b13
commit
12a9592426
1 changed files with 2 additions and 2 deletions
|
@ -1648,8 +1648,8 @@ set(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries")
|
|||
set(CPACK_COMPONENT_DEV_DISPLAY_NAME "Development files")
|
||||
|
||||
# Install test apps.
|
||||
if (NOT LWS_WITHOUT_TESTAPPS AND NOT LWS_WITHOUT_CLIENT)
|
||||
install(TARGETS test-client ${TEST_APP_LIST}
|
||||
if (NOT LWS_WITHOUT_TESTAPPS)
|
||||
install(TARGETS ${TEST_APP_LIST}
|
||||
RUNTIME DESTINATION ${LWS_INSTALL_EXAMPLES_DIR}
|
||||
COMPONENT examples)
|
||||
set(CPACK_COMPONENT_EXAMPLES_DISPLAY_NAME "Example files")
|
||||
|
|
Loading…
Add table
Reference in a new issue