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 )
22project (mqttclient_example)
33
44set (EXAMPLE_DIRS "emqx" "onenet" "baidu" "ali" )
@@ -8,7 +8,7 @@ set(EXAMPLE_DIRS "emqx" "onenet" "baidu" "ali")
88# #########################
99if (NOT BUILD_EXAMPLES)
1010 include (${CMAKE_CURRENT_SOURCE_DIR} /mqttclient.cmake)
11- set (PACKAGE_DEPEND ${WTURS_PACKAGE_LIBS } )
11+ set (PACKAGE_DEPEND ${MQTTCLIENT_PACKAGE_LIBS } )
1212endif ()
1313
1414################
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-
151cmake_minimum_required (VERSION 2.8)
162project (mqttclient_example)
173
You can’t perform that action at this time.
0 commit comments