File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.1 )
1
+ cmake_minimum_required (VERSION 2.8 )
2
2
project (mqttclient_example )
3
3
4
4
set (EXAMPLE_DIRS "emqx" "onenet" "baidu" "ali" )
@@ -8,7 +8,7 @@ set(EXAMPLE_DIRS "emqx" "onenet" "baidu" "ali")
8
8
# #########################
9
9
if (NOT BUILD_EXAMPLES )
10
10
include (${CMAKE_CURRENT_SOURCE_DIR} /mqttclient.cmake )
11
- set (PACKAGE_DEPEND ${WTURS_PACKAGE_LIBS } )
11
+ set (PACKAGE_DEPEND ${MQTTCLIENT_PACKAGE_LIBS } )
12
12
endif ()
13
13
14
14
################
Original file line number Diff line number Diff line change 1
- # aux_source_directory(. DIR_SRCS)
2
-
3
- # set(INCDIRS ${CMAKE_CURRENT_SOURCE_DIR})
4
-
5
- # add_executable("emqx" ${DIR_SRCS})
6
-
7
- # foreach(findlib ${LIBNAMES})
8
- # target_link_libraries("emqx" ${findlib})
9
- # endforeach()
10
-
11
- # find_package("Threads")
12
- # target_link_libraries("emqx" ${CMAKE_THREAD_LIBS_INIT})
13
-
14
-
15
1
cmake_minimum_required (VERSION 2.8 )
16
2
project (mqttclient_example )
17
3
You can’t perform that action at this time.
0 commit comments