projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede9ad2
)
cmake: fix logic for individual test client build disable
author
Andy Green
<andy@warmcat.com>
Wed, 28 Jun 2017 01:50:54 +0000
(09:50 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 28 Jun 2017 01:50:54 +0000
(09:50 +0800)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
f625c57
..
0299b60
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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")