Skip to content

Commit

Permalink
MQTT Update: Cmake and Windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
d00616 committed Jul 24, 2016
1 parent 4618db9 commit 754fedf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MQTT/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 2.8.4)

project (MQTT C)

include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
SET(MQTT_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}")
SET(MQTT_LIBRARIES mqtt)

Expand Down Expand Up @@ -34,3 +33,6 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")

ADD_LIBRARY(mqtt STATIC ${LIB} ${CORE})

include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
link_directories("${CMAKE_CURRENT_SOURCE_DIR}")

0 comments on commit 754fedf

Please sign in to comment.