mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-23 07:35:13 +03:00
Merge pull request #799 from mrdeep1/cmake_bin_install
cmake: Install example programs if examples enabled
This commit is contained in:
1 file changed
+12
@@ -699,3 +699,15 @@ install(
|
||||
COMPONENT dev
|
||||
FILES_MATCHING
|
||||
PATTERN "*.h")
|
||||
if(ENABLE_EXAMPLES)
|
||||
install(
|
||||
TARGETS coap-server coap-client coap-rd
|
||||
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
COMPONENT dev)
|
||||
if(NOT WIN32)
|
||||
install(
|
||||
TARGETS etsi_iot_01 tiny
|
||||
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
COMPONENT dev)
|
||||
endif()
|
||||
endif()
|
||||
Reference in new issue
Block a user