fix WITHOUT_CLIENT install in CMake
Via "DevYourWorld" on github https://github.com/warmcat/libwebsockets/issues/64#issuecomment-35719084 Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
1ea84e7710
commit
7f54e76f6d
1 changed files with 1 additions and 1 deletions
|
@ -809,7 +809,7 @@ set(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries")
|
|||
set(CPACK_COMPONENT_DEV_DISPLAY_NAME "Development files")
|
||||
|
||||
# Install test apps.
|
||||
if (NOT LWS_WITHOUT_TESTAPPS)
|
||||
if (NOT LWS_WITHOUT_TESTAPPS AND NOT LWS_WITHOUT_CLIENT)
|
||||
install(TARGETS test-client ${TEST_APP_LIST}
|
||||
RUNTIME DESTINATION ${LWS_INSTALL_EXAMPLES_DIR}
|
||||
COMPONENT examples)
|
||||
|
|
Loading…
Add table
Reference in a new issue